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