public final class AscendingOrderKeyValuePairIterator<TKey extends java.lang.Comparable<TKey>,TValue> extends java.lang.Object implements java.util.Iterator<KeyValuePair<TKey,TValue>>
public boolean hasNext()
hasNext
in interface java.util.Iterator<KeyValuePair<TKey extends java.lang.Comparable<TKey>,TValue>>
public KeyValuePair<TKey,TValue> next()
next
in interface java.util.Iterator<KeyValuePair<TKey extends java.lang.Comparable<TKey>,TValue>>
java.util.NoSuchElementException
- Iteration has no more elements.@Deprecated public void remove()
remove
in interface java.util.Iterator<KeyValuePair<TKey extends java.lang.Comparable<TKey>,TValue>>
java.lang.UnsupportedOperationException
- The remove operation is not supported.