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
Fields Modifier and Type Field Description intvalueThe value corresponding to the ordinal is an int.-
Fields inherited from class org.apache.lucene.facet.TopOrdAndNumberQueue.OrdAndValue
ord
-
-
Constructor Summary
Constructors Constructor Description OrdAndInt()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumbergetValue()Get the value stored in thisTopOrdAndNumberQueue.OrdAndValue.booleanlessThan(TopOrdAndNumberQueue.OrdAndValue other)Compare with anotherTopOrdAndNumberQueue.OrdAndValue.
-
-
-
Method Detail
-
lessThan
public boolean lessThan(TopOrdAndNumberQueue.OrdAndValue other)
Description copied from class:TopOrdAndNumberQueue.OrdAndValueCompare with anotherTopOrdAndNumberQueue.OrdAndValue.- Specified by:
lessThanin classTopOrdAndNumberQueue.OrdAndValue
-
getValue
public Number getValue()
Description copied from class:TopOrdAndNumberQueue.OrdAndValueGet the value stored in thisTopOrdAndNumberQueue.OrdAndValue.- Specified by:
getValuein classTopOrdAndNumberQueue.OrdAndValue
-
-