-
Constructor Summary
Constructors
-
Method Summary
protected 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
-
SpanPositionQueue
SpanPositionQueue(int maxSize)
-
Method Details
-
lessThan
Determines the ordering of objects in this priority queue. Subclasses must define this one
method.
- Specified by:
lessThan
in class PriorityQueue<Spans>
- Returns:
true
iff parameter a
is less than parameter b
.