Class SmallSortedMap.EntryIterator
java.lang.Object
com.google.protobuf.SmallSortedMap.EntryIterator
- Enclosing class:
SmallSortedMap<K extends Comparable<K>, V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate int -
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 -
nextCalledBeforeRemove
private boolean nextCalledBeforeRemove -
lazyOverflowIterator
-
-
Constructor Details
-
EntryIterator
private EntryIterator()
-
-
Method Details
-
hasNext
-
next
-
remove
-
getOverflowIterator
-