public class JArray extends AbstractJExpressionImpl
| Modifier | Constructor and Description |
|---|---|
protected |
JArray(AbstractJType type,
IJExpression size) |
| Modifier and Type | Method and Description |
|---|---|
JArray |
add(IJExpression aExpr)
Add an element to the array initializer
|
boolean |
equals(Object o) |
List<IJExpression> |
exprs() |
void |
generate(JFormatter f) |
boolean |
hasExprs() |
int |
hashCode() |
JArray |
removeAll()
Remove all elements from the array initializer
|
IJExpression |
size() |
AbstractJType |
type() |
_instanceof, band, bor, cand, complement, component, component, component0, cor, decr, div, div, div, div, div, eq, eq0, eqNull, gt, gt0, gte, gte0, incr, invoke, invoke, lt, lt0, lte, lte0, minus, minus, minus, minus, minus, minus, mod, mul, mul, mul, mul, mul, ne, ne0, neNull, not, plus, plus, plus, plus, plus, plus, predecr, preincr, ref, ref, shl, shl, shr, shr, shrz, shrz, xorprotected JArray(@Nonnull AbstractJType type, @Nullable IJExpression size)
@Nonnull public AbstractJType type()
@Nullable public IJExpression size()
@Nonnull public JArray add(@Nonnull IJExpression aExpr)
aExpr - Expression to be added to the array@Nonnull public JArray removeAll()
@Nonnull public List<IJExpression> exprs()
public boolean hasExprs()
public void generate(@Nonnull JFormatter f)
Copyright © 2013–2015 Philip Helger. All rights reserved.