Package org.apache.lucene.facet
Class TopOrdAndIntNumberQueue.OrdAndInt
java.lang.Object
org.apache.lucene.facet.TopOrdAndNumberQueue.OrdAndValue
org.apache.lucene.facet.TopOrdAndIntNumberQueue.OrdAndInt
- Enclosing class:
TopOrdAndIntNumberQueue
public static final class TopOrdAndIntNumberQueue.OrdAndInt
extends TopOrdAndNumberQueue.OrdAndValue
Holds an ordinal and an int 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
.boolean
Compare with anotherTopOrdAndNumberQueue.OrdAndValue
.
-
Field Details
-
value
public int valueThe value corresponding to the ordinal is an int.
-
-
Constructor Details
-
OrdAndInt
public OrdAndInt()Default constructor.
-
-
Method Details
-
lessThan
Description copied from class:TopOrdAndNumberQueue.OrdAndValue
Compare with anotherTopOrdAndNumberQueue.OrdAndValue
.- Specified by:
lessThan
in classTopOrdAndNumberQueue.OrdAndValue
-
getValue
Description copied from class:TopOrdAndNumberQueue.OrdAndValue
Get the value stored in thisTopOrdAndNumberQueue.OrdAndValue
.- Specified by:
getValue
in classTopOrdAndNumberQueue.OrdAndValue
-