Class DoubleRange


  • public class DoubleRange
    extends Range
    Represents a double range for RangeOnRange faceting
    • Field Detail

      • min

        public final double[] min
        Minimum (inclusive).
      • max

        public final double[] max
        Maximum (inclusive).
    • Constructor Detail

      • DoubleRange

        public DoubleRange​(String label,
                           double minIn,
                           boolean minInclusive,
                           double maxIn,
                           boolean maxInclusive)
        Represents a double range for RangeOnRange faceting
        Parameters:
        label - the name of the range
        minIn - the minimum
        minInclusive - if the minimum is inclusive
        maxIn - the maximum
        maxInclusive - if the maximum is inclusive
      • DoubleRange

        public DoubleRange​(String label,
                           double[] min,
                           double[] max)
        Represents a double range for RangeOnRange faceting
        Parameters:
        label - the name of the range
        min - the minimum, inclusive
        max - the maximum, inclusive