Package adql.query.operand.function
Class ADQLFunction.ParameterIterator
- java.lang.Object
-
- adql.query.operand.function.ADQLFunction.ParameterIterator
-
- All Implemented Interfaces:
java.util.Iterator<ADQLOperand>
- Enclosing class:
- ADQLFunction
protected class ADQLFunction.ParameterIterator extends java.lang.Object implements java.util.Iterator<ADQLOperand>
Lets iterating on all parameters of the given function.- Version:
- 01/2012
- Author:
- Grégory Mantelet (CDS)
-
-
Field Summary
Fields Modifier and Type Field Description protected ADQLFunction
function
protected int
index
-
Constructor Summary
Constructors Constructor Description ParameterIterator(ADQLFunction fct)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
ADQLOperand
next()
void
remove()
-
-
-
Field Detail
-
function
protected final ADQLFunction function
-
index
protected int index
-
-
Constructor Detail
-
ParameterIterator
public ParameterIterator(ADQLFunction fct) throws java.lang.NullPointerException
- Throws:
java.lang.NullPointerException
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<ADQLOperand>
-
next
public ADQLOperand next()
- Specified by:
next
in interfacejava.util.Iterator<ADQLOperand>
-
remove
public void remove() throws java.lang.UnsupportedOperationException
- Specified by:
remove
in interfacejava.util.Iterator<ADQLOperand>
- Throws:
java.lang.UnsupportedOperationException
-
-