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