-
Constructor Summary
Constructors
-
Method Summary
protected final boolean
Determines the ordering of objects in this priority queue.
Methods inherited from class org.apache.lucene.util.PriorityQueue
add, addAll, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PhraseQueue
PhraseQueue(int size)
-
Method Details
-
lessThan
Determines the ordering of objects in this priority queue. Subclasses must define this one
method.
- Specified by:
lessThan
in class PriorityQueue<PhrasePositions>
- Returns:
true
iff parameter a
is less than parameter b
.