Package org.apache.lucene.facet
Class TopOrdAndFloatNumberQueue.OrdAndFloat
- java.lang.Object
-
- org.apache.lucene.facet.TopOrdAndNumberQueue.OrdAndValue
-
- org.apache.lucene.facet.TopOrdAndFloatNumberQueue.OrdAndFloat
-
- Enclosing class:
- TopOrdAndFloatNumberQueue
public static final class TopOrdAndFloatNumberQueue.OrdAndFloat extends TopOrdAndNumberQueue.OrdAndValue
Holds an ordinal and a float value.
-
-
Field Summary
Fields Modifier and Type Field Description float
value
The value corresponding to the ordinal is a float.-
Fields inherited from class org.apache.lucene.facet.TopOrdAndNumberQueue.OrdAndValue
ord
-
-
Constructor Summary
Constructors Constructor Description OrdAndFloat()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getValue()
Get the value stored in thisTopOrdAndNumberQueue.OrdAndValue
.boolean
lessThan(TopOrdAndNumberQueue.OrdAndValue other)
Compare with anotherTopOrdAndNumberQueue.OrdAndValue
.
-
-
-
Method Detail
-
lessThan
public boolean lessThan(TopOrdAndNumberQueue.OrdAndValue other)
Description copied from class:TopOrdAndNumberQueue.OrdAndValue
Compare with anotherTopOrdAndNumberQueue.OrdAndValue
.- Specified by:
lessThan
in classTopOrdAndNumberQueue.OrdAndValue
-
getValue
public Number getValue()
Description copied from class:TopOrdAndNumberQueue.OrdAndValue
Get the value stored in thisTopOrdAndNumberQueue.OrdAndValue
.- Specified by:
getValue
in classTopOrdAndNumberQueue.OrdAndValue
-
-