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, getSentinelObject, insertWithOverflow, pop, size, top, updateTopprotected boolean lessThan(TopOrdAndIntQueue.OrdAndValue a, TopOrdAndIntQueue.OrdAndValue b)
lessThan in class PriorityQueue<TopOrdAndIntQueue.OrdAndValue>Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.