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