Interface DoubleHeap.UnsortedIter
-
- All Superinterfaces:
Iter
- All Known Implementing Classes:
DoubleMaxHeap.UnsortedIter
,DoubleMinHeap.UnsortedIter
- Enclosing interface:
- DoubleHeap
public static interface DoubleHeap.UnsortedIter extends Iter
Unsorted iterator - in heap order. Does not poll the heap.for (DoubleHeap.UnsortedIter iter = heap.unsortedIter(); iter.valid(); iter.next()) { doSomething(iter.get()); }
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
get()
Get the iterators current object.
-