public static class ADQLList.ADQLListIterator extends java.lang.Object implements ADQLIterator
ADQLList.| Modifier and Type | Field and Description |
|---|---|
protected int |
index |
protected ADQLList<ADQLObject> |
list |
protected boolean |
removed |
| Constructor and Description |
|---|
ADQLListIterator(ADQLList<? extends ADQLObject> lst) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
ADQLObject |
next() |
void |
remove() |
void |
replace(ADQLObject replacer)
Replaces the current ADQL object by the given ADQL object.
|
protected final ADQLList<ADQLObject> list
protected int index
protected boolean removed
public ADQLListIterator(ADQLList<? extends ADQLObject> lst)
public boolean hasNext()
hasNext in interface java.util.Iterator<ADQLObject>public ADQLObject next()
next in interface java.util.Iterator<ADQLObject>public void replace(ADQLObject replacer) throws java.lang.UnsupportedOperationException, java.lang.IllegalStateException
ADQLIteratorreplace in interface ADQLIteratorreplacer - The ADQL object which has to replace the current object.java.lang.UnsupportedOperationException - If the replace operation is not supported by this ADQLIterator.java.lang.IllegalStateException - If the next method has not yet been called, or the replace method has already been called after the last call to the next method.public void remove()
remove in interface java.util.Iterator<ADQLObject>