public class TopOrdAndIntQueue extends PriorityQueue<TopOrdAndIntQueue.OrdAndValue>
Modifier and Type | Class and Description |
---|---|
static class |
TopOrdAndIntQueue.OrdAndValue
Holds a single entry.
|
Constructor and Description |
---|
TopOrdAndIntQueue(int topN)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
lessThan(TopOrdAndIntQueue.OrdAndValue a,
TopOrdAndIntQueue.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(TopOrdAndIntQueue.OrdAndValue a, TopOrdAndIntQueue.OrdAndValue b)
lessThan
in class PriorityQueue<TopOrdAndIntQueue.OrdAndValue>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.