for loop statement.
For example:
for ( variable : expression )
statement
| Modifier and Type | Method and Description |
|---|---|
| public ExpressionTree | Returns: the expressionReturns the expression yielding the values for the control variable. |
| public StatementTree | |
| public VariableTree |
| getExpression | back to summary |
|---|---|
| public ExpressionTree getExpression() Returns the expression yielding the values for the control variable.
| |
| getStatement | back to summary |
|---|---|
| public StatementTree getStatement() Returns the body of the loop.
| |
| getVariable | back to summary |
|---|---|
| public VariableTree getVariable() Returns the control variable for the loop.
| |