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