Package adql.query
Class NullADQLIterator
java.lang.Object
adql.query.NullADQLIterator
- All Implemented Interfaces:
ADQLIterator,Iterator<ADQLObject>
An ADQL iterator which has no ADQL objects on which iterate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()next()voidremove()voidreplace(ADQLObject replacer) Replaces the current ADQL object by the given ADQL object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
NullADQLIterator
public NullADQLIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<ADQLObject>
-
next
- Specified by:
nextin interfaceIterator<ADQLObject>
-
remove
public void remove()- Specified by:
removein interfaceIterator<ADQLObject>
-
replace
public void replace(ADQLObject replacer) throws UnsupportedOperationException, IllegalStateException Description copied from interface:ADQLIteratorReplaces the current ADQL object by the given ADQL object. This method can be called only one time per call to next.- Specified by:
replacein interfaceADQLIterator- 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.
-