Interface IExpressionIterator
-
- All Known Implementing Classes:
CompositeExpression,ContentLoopExpression
public interface IExpressionIteratorDefines a simple expression iterator.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressiongetExpression(int index)Returns the specified expression.intgetExpressionsCount()Returns the number of expression.
-
-
-
Method Detail
-
getExpressionsCount
int getExpressionsCount()
Returns the number of expression.- Returns:
- the number of expressions
-
getExpression
Expression getExpression(int index)
Returns the specified expression.- Parameters:
index- the 0-based index of the expression- Returns:
- the expression
- Throws:
java.lang.IndexOutOfBoundsException- ifindex<0 || index>=#getExpressionListCount()
-
-