Package net.shibboleth.shared.collection
Class ClassIndexedSet.ClassIndexedSetIterator
java.lang.Object
net.shibboleth.shared.collection.ClassIndexedSet.ClassIndexedSetIterator
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
- ClassIndexedSet<T>
Iterator for set implementation
ClassIndexedSet.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TThe element most recently returned by next(), and the target for any subsequent remove() operation.The iterator for the owner's underlying storage.private booleanFlag which tracks whether next() has been called at least once.private booleanFlag which tracks whether remove can currently be called.private final ClassIndexedSet<T>The set instance over which this instance is an iterator. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClassIndexedSetIterator(ClassIndexedSet<T> parentSet, Iterator<T> parentIterator) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
set
The set instance over which this instance is an iterator. -
iterator
The iterator for the owner's underlying storage. -
nextCalled
private boolean nextCalledFlag which tracks whether next() has been called at least once. -
removeStateValid
private boolean removeStateValidFlag which tracks whether remove can currently be called. -
current
The element most recently returned by next(), and the target for any subsequent remove() operation.
-
-
Constructor Details
-
Method Details