public class TopOrdAndFloatQueue extends PriorityQueue<TopOrdAndFloatQueue.OrdAndValue>
Modifier and Type | Class and Description |
---|---|
static class |
TopOrdAndFloatQueue.OrdAndValue
Holds a single entry.
|
Constructor and Description |
---|
TopOrdAndFloatQueue(int topN)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
lessThan(TopOrdAndFloatQueue.OrdAndValue a,
TopOrdAndFloatQueue.OrdAndValue b) |
add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected boolean lessThan(TopOrdAndFloatQueue.OrdAndValue a, TopOrdAndFloatQueue.OrdAndValue b)
lessThan
in class PriorityQueue<TopOrdAndFloatQueue.OrdAndValue>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.