Package org.apache.lucene.facet
Class TopOrdAndIntQueue
- java.lang.Object
-
- org.apache.lucene.util.PriorityQueue<TopOrdAndIntQueue.OrdAndValue>
-
- org.apache.lucene.facet.TopOrdAndIntQueue
-
public class TopOrdAndIntQueue extends PriorityQueue<TopOrdAndIntQueue.OrdAndValue>
Keeps highest results, first by largest int value, then tie break by smallest ord.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TopOrdAndIntQueue.OrdAndValue
Holds a single entry.
-
Constructor Summary
Constructors Constructor Description TopOrdAndIntQueue(int topN)
Sole constructor.
-
Method Summary
-
Methods inherited from class org.apache.lucene.util.PriorityQueue
add, clear, insertWithOverflow, pop, size, top, updateTop
-
-