com.sun.codemodel
Class JArray

java.lang.Object
  extended by com.sun.codemodel.JExpressionImpl
      extended by com.sun.codemodel.JArray
All Implemented Interfaces:
JExpression

public final class JArray
extends JExpressionImpl

array creation and initialization.


Method Summary
 JArray add(JExpression e)
          Add an element to the array initializer
 void generate(JFormatter f)
           
 
Methods inherited from class com.sun.codemodel.JExpressionImpl
_instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public JArray add(JExpression e)
Add an element to the array initializer


generate

public void generate(JFormatter f)


Copyright © 2005-2008 Sun Microsystems. All Rights Reserved.