Package org.apache.lucene.facet.facetset
Class DimRange
- java.lang.Object
-
- org.apache.lucene.facet.facetset.DimRange
-
-
Constructor Summary
Constructors Constructor Description DimRange(long min, long max)Creates a LongRange.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DimRangefromDoubles(double min, boolean minInclusive, double max, boolean maxInclusive)Creates aDimRangefor the given min and max double values.static DimRangefromFloats(float min, boolean minInclusive, float max, boolean maxInclusive)Creates aDimRangefor the given min and max float values.static DimRangefromLongs(long min, boolean minInclusive, long max, boolean maxInclusive)Creates aDimRangefor the given min and max long values.
-
-
-
Method Detail
-
fromLongs
public static DimRange fromLongs(long min, boolean minInclusive, long max, boolean maxInclusive)
Creates aDimRangefor the given min and max long values. This method is also suitable for int values.
-
fromDoubles
public static DimRange fromDoubles(double min, boolean minInclusive, double max, boolean maxInclusive)
Creates aDimRangefor the given min and max double values.
-
-