|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.util.ClassIndexedSet.ClassIndexedSetIterator
protected class ClassIndexedSet.ClassIndexedSetIterator
Iterator for set implementation ClassIndexedSet.
| Field Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
protected |
ClassIndexedSet.ClassIndexedSetIterator(ClassIndexedSet<T> parentSet,
Iterator<T> parentIterator)
Constructor. |
| Method Summary | |
|---|---|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ClassIndexedSet<T> set
private Iterator<T> iterator
private boolean nextCalled
private boolean removeStateValid
private T current
| Constructor Detail |
|---|
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 storage| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<T>public T next()
next in interface Iterator<T>public void remove()
remove in interface Iterator<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||