public final class ObjectIndexedHeapPriorityQueue.EntryIterator extends AbstractIterator<IntObjectCursor<KType>>
ObjectIndexedHeapPriorityQueue.iterator() entries.
Holds a IntObjectCursor returning
(key, value, index) = (int key, Object value, index the position in heap ObjectIndexedHeapPriorityQueue.buffer.)| Modifier and Type | Field and Description |
|---|---|
IntObjectCursor<KType> |
cursor |
| Constructor and Description |
|---|
EntryIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected IntObjectCursor<KType> |
fetch()
Fetch next element.
|
done, hasNext, next, release, removepublic final IntObjectCursor<KType> cursor
protected IntObjectCursor<KType> fetch()
AbstractIteratorAbstractIterator.done() when all elements have been
fetched.fetch in class AbstractIterator<IntObjectCursor<KType>>Copyright © 2017. All rights reserved.