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, iterator, pop, remove, size, top, updateTop, updateTopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected 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–2016 The Apache Software Foundation. All rights reserved.