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