Class DoubleRange
- java.lang.Object
-
- org.apache.lucene.facet.rangeonrange.Range
-
- org.apache.lucene.facet.rangeonrange.DoubleRange
-
public class DoubleRange extends Range
Represents a double range for RangeOnRange faceting
-
-
Constructor Summary
Constructors Constructor Description DoubleRange(String label, double[] min, double[] max)Represents a double range for RangeOnRange facetingDoubleRange(String label, double minIn, boolean minInclusive, double maxIn, boolean maxInclusive)Represents a double range for RangeOnRange faceting
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringtoString()-
Methods inherited from class org.apache.lucene.facet.rangeonrange.Range
failNoMatch, getLabelsFromRanges
-
-
-
-
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 rangeminIn- the minimumminInclusive- if the minimum is inclusivemaxIn- the maximummaxInclusive- 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 rangemin- the minimum, inclusivemax- the maximum, inclusive
-
-