Package org.jboss.jdeparser
Interface JArrayExpr
- All Superinterfaces:
JExpr
An array expression, which can have more values added to it.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd an element to this array.int
Get the current number of elements added to this array.Methods inherited from interface org.jboss.jdeparser.JExpr
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, or, paren, plus, shl, shr, times
-
Method Details
-
add
Add an element to this array. Returns this array.- Parameters:
value
- the value to add- Returns:
- this array expression
-
elementCount
int elementCount()Get the current number of elements added to this array.- Returns:
- the number of elements
-