| Modifier and Type | Method and Description |
|---|---|
void |
add(Object element)
Adds an element at the end.
|
void |
addFirst(Object element)
Adds an element at the beginning.
|
void |
clear()
Clears all elements.
|
Object |
get(int pos)
Gets an element at the specified position.
|
BigDecimal |
getBigDecimal(int pos)
Gets an element as
BigDecimal. |
Boolean |
getBoolean(int pos)
Gets an element as
Boolean. |
Double |
getDouble(int pos)
Gets an element as
Double. |
Integer |
getInteger(int pos)
Gets an element as
Integer. |
IJsonArray |
getJsonArray(int pos)
Gets an element as
IJsonArray. |
IJsonObject |
getJsonObject(int pos)
Gets an element as
IJsonObject. |
Long |
getLong(int pos)
Gets an element as
Long. |
String |
getString(int pos)
Gets an element as
String. |
List<Object> |
getUnderlyingList()
The underlying list.
|
int |
size()
The array size.
|
String |
toJsonString()
The
Json string representation
of the array. |
forEach, iterator, spliteratorvoid add(Object element)
void addFirst(Object element)
void clear()
int size()
String toJsonString()
Json string representation
of the array.Object get(int pos)
null if not found.IJsonObject getJsonObject(int pos)
IJsonObject.null if not found.IJsonArray getJsonArray(int pos)
IJsonArray.null if not found.String getString(int pos)
String.null if not found.Integer getInteger(int pos)
Integer.null if not found.Long getLong(int pos)
Long.null if not found.Double getDouble(int pos)
Double.null if not found.Boolean getBoolean(int pos)
Boolean.null if not found.BigDecimal getBigDecimal(int pos)
BigDecimal.null if not found.Copyright © 2016. All rights reserved.