Example usage for Java javax.json JsonArray fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | containsAll(Collection> c) Returns true if this list contains all of the elements of the specified collection. |
void | forEach(Consumer super T> action) Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception. |
E | get(int index) Returns the element at the specified position in this list. |
boolean | getBoolean(int index) Returns the boolean value at the specified position. |
int | getInt(int index) A convenience method for getJsonNumber(index).intValue() . |
JsonArray | getJsonArray(int index) Returns the array value at the specified position in this array. |
JsonNumber | getJsonNumber(int index) Returns the number value at the specified position in this array. |
JsonObject | getJsonObject(int index) Returns the object value at the specified position in this array. |
String | getString(int index, String defaultValue) Returns the String value of JsonString at the specified position in this JSON array values. |
String | getString(int index) A convenience method for getJsonString(index).getString() . |
List | getValuesAs(Class Returns a list view of the specified type for the array. |
List | getValuesAs(Function Returns a list view for the array. |
boolean | isEmpty() Returns true if this list contains no elements. |
ListIterator | listIterator() Returns a list iterator over the elements in this list (in proper sequence). |
int | size() Returns the number of elements in this list. |
String | toString() Returns JSON text for this JSON value. |