Class SmallSortedMap.DescendingEntryIterator
java.lang.Object
com.google.protobuf.SmallSortedMap.DescendingEntryIterator
- Enclosing class:
SmallSortedMap<K extends Comparable<K>, V>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIt is important to create the overflow iterator only after the array entries have been iterated over because the overflow entry set changes when the client calls remove() on the array entries, which invalidates any existing iterators.booleanhasNext()next()voidremove()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
pos
private int pos -
lazyOverflowIterator
-
-
Constructor Details
-
DescendingEntryIterator
private DescendingEntryIterator()
-
-
Method Details
-
hasNext
-
next
-
remove
-
getOverflowIterator
-