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