public interface ADQLIterator extends java.util.Iterator<ADQLObject>
Lets iterating on all ADQL objects inside any ADQL object.
Any class implementing ADQLObject
has the function ADQLObject.adqlIterator()
.
This function must return an instance of this class so that being able to iterate on all ADQL object inside itself.
ADQLObject.adqlIterator()
Modifier and Type | Method and Description |
---|---|
void |
replace(ADQLObject replacer)
Replaces the current ADQL object by the given ADQL object.
|
void replace(ADQLObject replacer) throws java.lang.UnsupportedOperationException, java.lang.IllegalStateException
replacer
- 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.