33 * for ( <em>initializer</em> ; <em>condition</em> ; <em>update</em> ) 34 * <em>statement</em> 35 * </pre> 36 * 37 * @since 1.9 38 */ 39 @jdk.Exported 40 public interface ForLoopTree extends ConditionalLoopTree { 41 /** 42 * Returns the initializer expression of this 'for' statement. 43 * 44 * @return the initializer expression 45 */ 46 ExpressionTree getInitializer(); 47 48 /** 49 * Returns the condition expression of this 'for' statement. 50 * 51 * @return the condition expression 52 */ 53 ExpressionTree getCondition(); 54 55 /** 56 * Returns the update expression of this 'for' statement. 57 * 58 * @return the update expression 59 */ 60 ExpressionTree getUpdate(); 61 62 /** 63 * Returns the statement contained in this 'for' statement. 64 * 65 * @return the statement 66 */ 67 StatementTree getStatement(); 68 } | 33 * for ( <em>initializer</em> ; <em>condition</em> ; <em>update</em> ) 34 * <em>statement</em> 35 * </pre> 36 * 37 * @since 1.9 38 */ 39 @jdk.Exported 40 public interface ForLoopTree extends ConditionalLoopTree { 41 /** 42 * Returns the initializer expression of this 'for' statement. 43 * 44 * @return the initializer expression 45 */ 46 ExpressionTree getInitializer(); 47 48 /** 49 * Returns the condition expression of this 'for' statement. 50 * 51 * @return the condition expression 52 */ 53 @Override 54 ExpressionTree getCondition(); 55 56 /** 57 * Returns the update expression of this 'for' statement. 58 * 59 * @return the update expression 60 */ 61 ExpressionTree getUpdate(); 62 63 /** 64 * Returns the statement contained in this 'for' statement. 65 * 66 * @return the statement 67 */ 68 @Override 69 StatementTree getStatement(); 70 } |