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