Interface CodeForLoopExpression
- All Superinterfaces:
CodeForExpression, CodeItem
CodeForExpression for a regular for loop.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, write
-
Method Details
-
getInit
CodeAtomicStatement getInit()- Returns:
- the initialization
statementsuch as "int i = 0".
-
getCondition
CodeCondition getCondition()- Returns:
- the
CodeConditionsuch as "i < size".
-
getUpdate
CodeAtomicStatement getUpdate()- Returns:
- the update
statementsuch as "i++".
-