private static class FST.NodeQueue extends PriorityQueue<FST.NodeAndInCount>
Constructor and Description |
---|
NodeQueue(int topN) |
Modifier and Type | Method and Description |
---|---|
boolean |
lessThan(FST.NodeAndInCount a,
FST.NodeAndInCount b)
Determines the ordering of objects in this priority queue.
|
add, clear, getHeapArray, getSentinelObject, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
public boolean lessThan(FST.NodeAndInCount a, FST.NodeAndInCount b)
PriorityQueue
lessThan
in class PriorityQueue<FST.NodeAndInCount>
true
iff parameter a is less than parameter b.