com.sun.codemodel
Class JForLoop

java.lang.Object
  extended by com.sun.codemodel.JForLoop
All Implemented Interfaces:
JStatement

public class JForLoop
extends Object
implements JStatement

For statement


Constructor Summary
JForLoop()
           
 
Method Summary
 JBlock body()
           
 JVar init(int mods, JType type, String var, JExpression e)
           
 JVar init(JType type, String var, JExpression e)
           
 void init(JVar v, JExpression e)
           
 void state(JFormatter f)
           
 void test(JExpression e)
           
 void update(JExpression e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JForLoop

public JForLoop()
Method Detail

init

public JVar init(int mods,
                 JType type,
                 String var,
                 JExpression e)

init

public JVar init(JType type,
                 String var,
                 JExpression e)

init

public void init(JVar v,
                 JExpression e)

test

public void test(JExpression e)

update

public void update(JExpression e)

body

public JBlock body()

state

public void state(JFormatter f)
Specified by:
state in interface JStatement


Copyright © 2005-2013 Oracle. All Rights Reserved.