public class JForLoop extends Object implements IJStatement
Modifier | Constructor and Description |
---|---|
protected |
JForLoop() |
Modifier and Type | Method and Description |
---|---|
JBlock |
body() |
JVar |
init(AbstractJType aType,
String sVarName,
IJExpression aInitExpr) |
JVar |
init(int mods,
AbstractJType aType,
String sVarName,
IJExpression aInitExpr) |
void |
init(JVar aVar,
IJExpression aRhs) |
List<Object> |
inits() |
void |
state(JFormatter f) |
IJExpression |
test() |
void |
test(IJExpression aTestExpr) |
void |
update(IJExpression aUpdate) |
List<IJExpression> |
updates() |
@Nonnull public JVar init(int mods, @Nonnull AbstractJType aType, @Nonnull String sVarName, @Nullable IJExpression aInitExpr)
@Nonnull public JVar init(@Nonnull AbstractJType aType, @Nonnull String sVarName, @Nullable IJExpression aInitExpr)
public void init(@Nonnull JVar aVar, @Nonnull IJExpression aRhs)
@Nonnull public List<Object> inits()
IJExpression
or JVar
public void test(@Nullable IJExpression aTestExpr)
@Nullable public IJExpression test()
public void update(@Nonnull IJExpression aUpdate)
@Nonnull public List<IJExpression> updates()
public void state(@Nonnull JFormatter f)
state
in interface IJStatement
Copyright © 2013–2015 Philip Helger. All rights reserved.