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)
Determines the ordering of objects in this priority queue.
|
add, clear, getHeapArray, getSentinelObject, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected boolean lessThan(TopOrdAndIntQueue.OrdAndValue a, TopOrdAndIntQueue.OrdAndValue b)
PriorityQueuelessThan in class PriorityQueue<TopOrdAndIntQueue.OrdAndValue>true iff parameter a is less than parameter b.Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.