Interface IntegerObjectHeap.UnsortedIter<V>
-
- Type Parameters:
V
- Value type
- All Superinterfaces:
Iter
- All Known Implementing Classes:
IntegerObjectMaxHeap.UnsortedIter
,IntegerObjectMinHeap.UnsortedIter
- Enclosing interface:
- IntegerObjectHeap<V>
public static interface IntegerObjectHeap.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 int
getKey()
Get the current key.V
getValue()
Get the current value.
-
-
-
Method Detail
-
getKey
int getKey()
Get the current key.- Returns:
- Current key
-
getValue
V getValue()
Get the current value.- Returns:
- Current value
-
-