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