Package org.apache.lucene.facet
Class TopOrdAndFloatQueue.OrdAndFloat
java.lang.Object
org.apache.lucene.facet.TopOrdAndNumberQueue.OrdAndValue
org.apache.lucene.facet.TopOrdAndFloatQueue.OrdAndFloat
- Enclosing class:
TopOrdAndFloatQueue
Holds an ordinal and a float value.
-
Field Summary
FieldsFields inherited from class org.apache.lucene.facet.TopOrdAndNumberQueue.OrdAndValue
ord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Get the value stored in thisTopOrdAndNumberQueue.OrdAndValue.booleanCompare with anotherTopOrdAndNumberQueue.OrdAndValue.
-
Field Details
-
value
public float valueThe value corresponding to the ordinal is a float.
-
-
Constructor Details
-
OrdAndFloat
public OrdAndFloat()Default constructor.
-
-
Method Details
-
lessThan
Description copied from class:TopOrdAndNumberQueue.OrdAndValueCompare with anotherTopOrdAndNumberQueue.OrdAndValue.- Specified by:
lessThanin classTopOrdAndNumberQueue.OrdAndValue
-
getValue
Description copied from class:TopOrdAndNumberQueue.OrdAndValueGet the value stored in thisTopOrdAndNumberQueue.OrdAndValue.- Specified by:
getValuein classTopOrdAndNumberQueue.OrdAndValue
-