Class LongRange


  • public class LongRange
    extends Range
    Represents a long range for RangeOnRange faceting
    • Field Detail

      • min

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

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

      • LongRange

        public LongRange​(String label,
                         long minIn,
                         boolean minInclusive,
                         long maxIn,
                         boolean maxInclusive)
        Represents a single dimensional long 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
      • LongRange

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