private class DoubleIntegerMaxHeap.UnsortedIter extends Object implements DoubleIntegerHeap.UnsortedIter
for (DoubleIntegerHeap.UnsortedIter iter = heap.unsortedIter(); iter.valid(); iter.next()) {
doSomething(iter.get());
}
Modifier and Type | Field and Description |
---|---|
protected int |
pos
Iterator position.
|
Modifier | Constructor and Description |
---|---|
private |
DoubleIntegerMaxHeap.UnsortedIter() |
public boolean valid()
Iter
public Iter advance()
Iter
public double getKey()
DoubleIntegerHeap.UnsortedIter
getKey
in interface DoubleIntegerHeap.UnsortedIter
public int getValue()
DoubleIntegerHeap.UnsortedIter
getValue
in interface DoubleIntegerHeap.UnsortedIter
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.