Interface DoubleObjectHeap.UnsortedIter<V>
-
- Type Parameters:
V
- Value type
- All Superinterfaces:
Iter
- All Known Implementing Classes:
DoubleObjectMaxHeap.UnsortedIter
,DoubleObjectMinHeap.UnsortedIter
- Enclosing interface:
- DoubleObjectHeap<V>
public static interface DoubleObjectHeap.UnsortedIter<V> extends Iter
Unsorted iterator - in heap order. Does not poll the heap.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getKey()
Get the current key.V
getValue()
Get the current value.
-
-
-
Method Detail
-
getKey
double getKey()
Get the current key.- Returns:
- Current key
-
getValue
V getValue()
Get the current value.- Returns:
- Current value
-
-