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