private static final class FieldValueHitQueue.MultiComparatorsFieldValueHitQueue<T extends FieldValueHitQueue.Entry> extends FieldValueHitQueue<T>
FieldValueHitQueue which is optimized in case
there is more than one comparator.FieldValueHitQueue.Entrycomparators, fields, reverseMul| Constructor and Description |
|---|
MultiComparatorsFieldValueHitQueue(SortField[] fields,
int size) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
lessThan(FieldValueHitQueue.Entry hitA,
FieldValueHitQueue.Entry hitB)
Determines the ordering of objects in this priority queue.
|
create, fillFields, getComparators, getComparators, getFields, getReverseMuladd, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateToppublic MultiComparatorsFieldValueHitQueue(SortField[] fields, int size)
protected boolean lessThan(FieldValueHitQueue.Entry hitA, FieldValueHitQueue.Entry hitB)
PriorityQueuelessThan in class FieldValueHitQueue<T extends FieldValueHitQueue.Entry>true iff parameter a is less than parameter b.