Package org.apache.lucene.facet
Class TopOrdAndNumberQueue.OrdAndValue
- java.lang.Object
-
- org.apache.lucene.facet.TopOrdAndNumberQueue.OrdAndValue
-
- Direct Known Subclasses:
TopOrdAndFloatNumberQueue.OrdAndFloat,TopOrdAndIntNumberQueue.OrdAndInt
- Enclosing class:
- TopOrdAndNumberQueue
public abstract static class TopOrdAndNumberQueue.OrdAndValue extends Object
Holds a single entry.
-
-
Field Summary
Fields Modifier and Type Field Description intordOrdinal of the entry.
-
Constructor Summary
Constructors Constructor Description OrdAndValue()Default constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NumbergetValue()Get the value stored in thisTopOrdAndNumberQueue.OrdAndValue.abstract booleanlessThan(TopOrdAndNumberQueue.OrdAndValue other)Compare with anotherTopOrdAndNumberQueue.OrdAndValue.
-
-
-
Method Detail
-
lessThan
public abstract boolean lessThan(TopOrdAndNumberQueue.OrdAndValue other)
Compare with anotherTopOrdAndNumberQueue.OrdAndValue.
-
getValue
public abstract Number getValue()
Get the value stored in thisTopOrdAndNumberQueue.OrdAndValue.
-
-