final class PhraseQueue extends PriorityQueue<PhrasePositions>
Constructor and Description |
---|
PhraseQueue(int size) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
lessThan(PhrasePositions pp1,
PhrasePositions pp2)
Determines the ordering of objects in this priority queue.
|
add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
protected final boolean lessThan(PhrasePositions pp1, PhrasePositions pp2)
PriorityQueue
lessThan
in class PriorityQueue<PhrasePositions>
true
iff parameter a is less than parameter b.