org.opensaml.xml.util
protected class ClassIndexedSet.ClassIndexedSetIterator extends Object implements Iterator<T>
ClassIndexedSet
.Modifier and Type | Field and Description |
---|---|
private T |
current
The element most recently returned by next(), and the target for any subsequent
remove() operation.
|
private Iterator<T> |
iterator
The iterator for the owner's underlying storage.
|
private boolean |
nextCalled
Flag which tracks whether next() has been called at least once.
|
private boolean |
removeStateValid
Flag which tracks whether remove can currently be called.
|
private ClassIndexedSet<T> |
set
The set instance over which this instance is an iterator.
|
Modifier | Constructor and Description |
---|---|
protected |
ClassIndexedSet.ClassIndexedSetIterator(ClassIndexedSet<T> parentSet,
Iterator<T> parentIterator)
Constructor.
|
private ClassIndexedSet<T> set
private boolean nextCalled
private boolean removeStateValid
private T current
protected ClassIndexedSet.ClassIndexedSetIterator(ClassIndexedSet<T> parentSet, Iterator<T> parentIterator)
parentSet
- the ClassIndexedSet
over which this instance is an iteratorparentIterator
- the iterator for the parent's underlying storageCopyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.