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)
Determines the ordering of objects in this priority queue.
|
add, clear, getHeapArray, getSentinelObject, insertWithOverflow, pop, remove, size, top, updateTop, updateTopprotected boolean lessThan(TopOrdAndFloatQueue.OrdAndValue a, TopOrdAndFloatQueue.OrdAndValue b)
PriorityQueuelessThan in class PriorityQueue<TopOrdAndFloatQueue.OrdAndValue>true iff parameter a is less than parameter b.Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.