Package adql.query
Interface ADQLIterator
- All Superinterfaces:
Iterator<ADQLObject>
- All Known Implementing Classes:
ADQLList.ADQLListIterator
,NullADQLIterator
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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
replace
(ADQLObject replacer) Replaces the current ADQL object by the given ADQL object.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
replace
Replaces the current ADQL object by the given ADQL object. This method can be called only one time per call to next.- Parameters:
replacer
- The ADQL object which has to replace the current object.- Throws:
UnsupportedOperationException
- If the replace operation is not supported by this ADQLIterator.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.
-