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