public final class JForEach extends Object implements JStatement
Constructor and Description |
---|
JForEach(JType vartype,
String variable,
JExpression collection) |
Modifier and Type | Method and Description |
---|---|
JBlock |
body() |
void |
state(JFormatter f) |
JVar |
var()
Returns a reference to the loop variable.
|
public JForEach(JType vartype, String variable, JExpression collection)
public JVar var()
public JBlock body()
public void state(JFormatter f)
state
in interface JStatement
Copyright © 2018 JBoss by Red Hat. All rights reserved.