Package com.sun.codemodel
Class JWhileLoop
java.lang.Object
com.sun.codemodel.JWhileLoop
- All Implemented Interfaces:
JStatement
While statement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JBlock
JBlock of statements which makes up body of this While statementprivate JExpression
Test part of While statement for determining exit state -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
test
Test part of While statement for determining exit state -
body
JBlock of statements which makes up body of this While statement
-
-
Constructor Details
-
JWhileLoop
JWhileLoop(JExpression test) Construct a While statment
-
-
Method Details
-
test
-
body
-
state
- Specified by:
state
in interfaceJStatement
-