java.lang.Comparable<FieldValue>, FieldValuepublic interface ArrayValue extends FieldValue
FieldValue to add methods appropriate for array
values.| Modifier and Type | Method | Description |
|---|---|---|
ArrayValue |
add(boolean value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(boolean[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(byte[] value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(byte[][] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(double value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(double[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(float value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(float[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(int value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(int[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(int index,
boolean value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
byte[] value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
double value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
float value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
int value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
long value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
java.lang.String value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
java.sql.Timestamp value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(int index,
FieldValue value) |
Inserts a new value at the specified index.
|
ArrayValue |
add(long value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(long[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(java.lang.String value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(java.lang.String[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(java.sql.Timestamp value) |
Adds a new value at the end of the array.
|
ArrayValue |
add(java.sql.Timestamp[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
add(FieldValue value) |
Adds a new value at the end of the array.
|
ArrayValue |
addArray() |
Adds a new ArrayValue to the end of the array.
|
ArrayValue |
addArray(int index) |
Inserts a new ArrayValue at the specified index.
|
ArrayValue |
addEnum(int index,
java.lang.String value) |
Inserts a new value at the specified index.
|
ArrayValue |
addEnum(java.lang.String value) |
Adds a new value at the end of the array.
|
ArrayValue |
addEnum(java.lang.String[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
addFixed(byte[] value) |
Adds a new value at the end of the array.
|
ArrayValue |
addFixed(byte[][] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
addFixed(int index,
byte[] value) |
Inserts a new value at the specified index.
|
ArrayValue |
addJson(int index,
java.io.Reader jsonInput) |
Inserts a new value at the specified index.
|
ArrayValue |
addJson(int index,
java.lang.String jsonInput) |
Inserts a new value at the specified index.
|
ArrayValue |
addJson(java.io.Reader jsonInput) |
Adds arbitrary JSON to the end of the array.
|
ArrayValue |
addJson(java.lang.String jsonInput) |
Adds arbitrary JSON to the end of the array.
|
ArrayValue |
addJsonNull() |
Adds a JSON null value at the end of the array.
|
ArrayValue |
addJsonNull(int index) |
Inserts a JSON null value at the specified index.
|
MapValue |
addMap() |
Adds a new MapValue to the end of the array.
|
MapValue |
addMap(int index) |
Inserts a new MapValue at the specified index.
|
ArrayValue |
addNumber(double value) |
Adds a new value at the end of the array.
|
ArrayValue |
addNumber(double[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
addNumber(float value) |
Adds a new value at the end of the array.
|
ArrayValue |
addNumber(float[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
addNumber(int value) |
Adds a new value at the end of the array.
|
ArrayValue |
addNumber(int[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
addNumber(int index,
double value) |
Inserts a new value at the specified index.
|
ArrayValue |
addNumber(int index,
float value) |
Inserts a new value at the specified index.
|
ArrayValue |
addNumber(int index,
int value) |
Inserts a new value at the specified index.
|
ArrayValue |
addNumber(int index,
long value) |
Inserts a new value at the specified index.
|
ArrayValue |
addNumber(int index,
java.math.BigDecimal value) |
Inserts a new value at the specified index.
|
ArrayValue |
addNumber(long value) |
Adds a new value at the end of the array.
|
ArrayValue |
addNumber(long[] values) |
Adds an array of new values at the end of the array.
|
ArrayValue |
addNumber(java.math.BigDecimal value) |
Adds a new value at the end of the array.
|
ArrayValue |
addNumber(java.math.BigDecimal[] values) |
Adds an array of new values at the end of the array.
|
RecordValue |
addRecord() |
Adds a new RecordValue to the end of the array.
|
RecordValue |
addRecord(int index) |
Inserts a new RecordValue at the specified index.
|
ArrayValue |
clone() |
Create a deep copy of this object.
|
FieldValue |
get(int index) |
Gets the value at the specified index.
|
ArrayDef |
getDefinition() |
Returns the ArrayDef that defines the content of this array.
|
ArrayValue |
set(int index,
boolean value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
byte[] value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
double value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
float value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
int value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
long value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
java.lang.String value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
java.sql.Timestamp value) |
Set the value at the specified index.
|
ArrayValue |
set(int index,
FieldValue value) |
Set the value at the specified index.
|
ArrayValue |
setArray(int index) |
Sets the value at the specified index with an empty ArrayValue,
replacing any existing value at that index.
|
ArrayValue |
setEnum(int index,
java.lang.String value) |
Set the value at the specified index.
|
ArrayValue |
setFixed(int index,
byte[] value) |
Set the value at the specified index.
|
ArrayValue |
setJson(int index,
java.io.Reader jsonInput) |
Set the value at the specified index.
|
ArrayValue |
setJson(int index,
java.lang.String jsonInput) |
Set the value at the specified index.
|
ArrayValue |
setJsonNull(int index) |
Set the value at the specified index to JSON null.
|
MapValue |
setMap(int index) |
Sets the value at the specified index with an empty MapValue,
replacing any existing value at that index.
|
ArrayValue |
setNumber(int index,
double value) |
Set the value at the specified index.
|
ArrayValue |
setNumber(int index,
float value) |
Set the value at the specified index.
|
ArrayValue |
setNumber(int index,
int value) |
Set the value at the specified index.
|
ArrayValue |
setNumber(int index,
long value) |
Set the value at the specified index.
|
ArrayValue |
setNumber(int index,
java.math.BigDecimal value) |
Set the value at the specified index.
|
RecordValue |
setRecord(int index) |
Sets the value at the specified index with an empty RecordValue,
replacing any existing value at that index.
|
int |
size() |
Returns the size of the array.
|
java.util.List<FieldValue> |
toList() |
Returns the array values as an unmodifiable list.
|
java.lang.String |
toString() |
Returns a String representation of the value.
|
asArray, asBinary, asBoolean, asDouble, asEnum, asFixedBinary, asFloat, asIndexKey, asInteger, asLong, asMap, asNumber, asPrimaryKey, asRecord, asRow, asString, asTimestamp, getType, isArray, isAtomic, isBinary, isBoolean, isComplex, isDouble, isEMPTY, isEnum, isFixedBinary, isFloat, isIndexKey, isInteger, isJsonNull, isLong, isMap, isNull, isNumber, isNumeric, isPrimaryKey, isRecord, isRow, isString, isTimestamp, toJsonStringArrayValue clone()
FieldValueclone in interface FieldValuejava.lang.String toString()
FieldValue.toJsonString(boolean).toString in class java.lang.ObjectArrayDef getDefinition()
getDefinition in interface FieldValueFieldValue get(int index)
index - the index to use for the getjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())int size()
java.util.List<FieldValue> toList()
ArrayValue add(FieldValue value)
value - the value to addjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, FieldValue value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, FieldValue value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(int value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, int value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, int value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(long value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(long[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, long value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, long value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(java.lang.String value)
addJson(java.lang.String) and addEnum(java.lang.String) exist to
add String values of those types.value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(java.lang.String[] values)
addJson(java.lang.String) and
addEnum(java.lang.String) exist to add String values of those types.values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, java.lang.String value)
setJson(int, java.lang.String) and setEnum(int, java.lang.String) exist to add String values of
those types.index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, java.lang.String value)
setJson(int, java.lang.String) and setEnum(int, java.lang.String) exist to add String values of
those types.index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(double value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(double[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, double value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, double value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(float value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(float[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, float value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, float value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addNumber(int value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(int[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(int index, int value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setNumber(int index, int value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addNumber(long value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(long[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(int index, long value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setNumber(int index, long value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addNumber(float value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(float[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(int index, float value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setNumber(int index, float value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addNumber(double value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(double[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(int index, double value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setNumber(int index, double value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addNumber(java.math.BigDecimal value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(java.math.BigDecimal[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addNumber(int index, java.math.BigDecimal value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setNumber(int index, java.math.BigDecimal value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(boolean value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(boolean[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, boolean value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, boolean value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(byte[] value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(byte[][] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(int index, byte[] value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, byte[] value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addFixed(byte[] value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addFixed(byte[][] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addFixed(int index, byte[] value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setFixed(int index, byte[] value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addEnum(java.lang.String value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addEnum(java.lang.String[] values)
values - the array of values to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addEnum(int index, java.lang.String value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setEnum(int index, java.lang.String value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue add(java.sql.Timestamp value)
value - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue add(java.sql.Timestamp[] values)
values - the array of values to insertArrayValue add(int index, java.sql.Timestamp value)
index - the index for the entryvalue - the value to insertjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue set(int index, java.sql.Timestamp value)
index - the index for the entryvalue - the value to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())RecordValue setRecord(int index)
index - the index of the entry to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayRecordValue addRecord()
java.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayRecordValue addRecord(int index)
index - the index for the entryjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())MapValue setMap(int index)
index - the index of the entry to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())MapValue addMap()
java.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayMapValue addMap(int index)
index - the index for the entryjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setArray(int index)
index - the index of the entry to setjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addArray()
java.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addArray(int index)
index - the index for the entryjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addJsonNull()
java.lang.IllegalArgumentException - if the type of the array is not JSON.ArrayValue addJsonNull(int index)
index - the index for the entryjava.lang.IllegalArgumentException - if the type of the array is not JSON.java.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setJsonNull(int index)
index - the index for the entryjava.lang.IllegalArgumentException - if the type of the array is not JSON.java.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addJson(java.lang.String jsonInput)
jsonInput - a JSON stringjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addJson(java.io.Reader jsonInput)
jsonInput - a Reader over JSONjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayArrayValue addJson(int index, java.lang.String jsonInput)
index - the index for the entryjsonInput - a JSON stringjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue addJson(int index, java.io.Reader jsonInput)
index - the index for the entryjsonInput - a JSON Readerjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setJson(int index, java.lang.String jsonInput)
index - the index for the entryjsonInput - a JSON stringjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())ArrayValue setJson(int index, java.io.Reader jsonInput)
index - the index for the entryjsonInput - a JSON Readerjava.lang.IllegalArgumentException - if the definition of the value does not
match that of the arrayjava.lang.IndexOutOfBoundsException - if the index is out of range for the
array (index < 0 || index >= size())Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.