org.apache.lucene.facet.range
Class DoubleRange
java.lang.Object
org.apache.lucene.facet.range.Range
org.apache.lucene.facet.range.DoubleRange
public final class DoubleRange
- extends Range
Represents a range over double values indexed as DoubleDocValuesField
.
Fields inherited from class org.apache.lucene.facet.range.Range |
label |
Constructor Summary |
DoubleRange(String label,
double min,
boolean minInclusive,
double max,
boolean maxInclusive)
Create a DoubleRange. |
Method Summary |
boolean |
accept(long value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
min
public final double min
max
public final double max
minInclusive
public final boolean minInclusive
maxInclusive
public final boolean maxInclusive
DoubleRange
public DoubleRange(String label,
double min,
boolean minInclusive,
double max,
boolean maxInclusive)
- Create a DoubleRange.
accept
public boolean accept(long value)
- Specified by:
accept
in class Range
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.