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