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