|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.codemodel.JForEach
public final class JForEach
ForEach Statement This will generate the code for statement based on the new j2se 1.5 j.l.s.
| Constructor Summary | |
|---|---|
JForEach(JType vartype,
java.lang.String variable,
JExpression collection)
|
|
| Method Summary | |
|---|---|
JBlock |
body()
|
void |
state(JFormatter f)
|
JVar |
var()
Returns a reference to the loop variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JForEach(JType vartype,
java.lang.String variable,
JExpression collection)
| Method Detail |
|---|
public JVar var()
public JBlock body()
public void state(JFormatter f)
state in interface JStatement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||