E
- The type of element that this SafeIterator returnspublic interface SafeIterator<E>
extends java.util.Iterator<E>
A SafeIterator is an Iterator whose Collection can be safely modified by some means other than the Iterator's own remove() method while the Iterator is active. Changes to the Collection will be delayed until after all of its SafeIterators stop iterating over it.
Modifier and Type | Method and Description |
---|---|
void |
stop()
Instructs this SafeIterator to stop iterating over its Collection.
|
void stop()