Class JForEach

java.lang.Object
com.sun.codemodel.JForEach
All Implemented Interfaces:
JStatement

public final class JForEach extends Object implements JStatement
ForEach Statement This will generate the code for statement based on the new j2se 1.5 j.l.s.
Author:
Bhakti
  • Constructor Details

  • Method Details

    • var

      public JVar var()
      Returns a reference to the loop variable.
    • body

      public JBlock body()
    • state

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