ConditionalLoopTree
, LoopTree
, StatementTree
, Tree
public interface ForLoopTree extends ConditionalLoopTree
for ( initializer ; condition ; update ) statement
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getCondition() |
Returns the condition expression of this 'for' statement.
|
ExpressionTree |
getInitializer() |
Returns the initializer expression of this 'for' statement.
|
StatementTree |
getStatement() |
Returns the statement contained in this 'for' statement.
|
ExpressionTree |
getUpdate() |
Returns the update expression of this 'for' statement.
|
accept, getEndPosition, getKind, getStartPosition
ExpressionTree getInitializer()
ExpressionTree getCondition()
getCondition
in interface ConditionalLoopTree
ExpressionTree getUpdate()
StatementTree getStatement()
getStatement
in interface LoopTree
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b148-1