org.apache.lucene.facet.range
Class FloatRange
java.lang.Object
org.apache.lucene.facet.range.Range
org.apache.lucene.facet.range.FloatRange
public final class FloatRange
- extends Range
Represents a range over float values indexed as FloatDocValuesField
.
Fields inherited from class org.apache.lucene.facet.range.Range |
label |
Constructor Summary |
FloatRange(String label,
float min,
boolean minInclusive,
float max,
boolean maxInclusive)
Create a FloatRange. |
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 float min
max
public final float max
minInclusive
public final boolean minInclusive
maxInclusive
public final boolean maxInclusive
FloatRange
public FloatRange(String label,
float min,
boolean minInclusive,
float max,
boolean maxInclusive)
- Create a FloatRange.
accept
public boolean accept(long value)
- Specified by:
accept
in class Range
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.