Constructor and Description |
---|
MutableArray()
Constructs a new empty Array object.
|
MutableArray(List<Object> data)
Constructs a new Array object with an array content.
|
Modifier and Type | Method and Description |
---|---|
MutableArray |
addArray(Array value)
Adds an Array object to the end of the array.
|
MutableArray |
addBlob(Blob value)
Adds a Blob object to the end of the array.
|
MutableArray |
addBoolean(boolean value)
Adds a boolean value to the end of the array.
|
MutableArray |
addDate(Date value)
Adds a Date object to the end of the array.
|
MutableArray |
addDictionary(Dictionary value)
Adds a Dictionary object to the end of the array.
|
MutableArray |
addDouble(double value)
Adds a double value to the end of the array.
|
MutableArray |
addFloat(float value)
Adds a float value to the end of the array.
|
MutableArray |
addInt(int value)
Adds an integer value to the end of the array.
|
MutableArray |
addLong(long value)
Adds a long value to the end of the array.
|
MutableArray |
addNumber(Number value)
Adds a Number object to the end of the array.
|
MutableArray |
addString(String value)
Adds a String object to the end of the array.
|
MutableArray |
addValue(Object value)
Adds an object to the end of the array.
|
int |
count() |
MutableArray |
getArray(int index)
Gets a Array at the given index.
|
Blob |
getBlob(int index) |
boolean |
getBoolean(int index) |
Date |
getDate(int index) |
MutableDictionary |
getDictionary(int index)
Gets a Dictionary at the given index.
|
double |
getDouble(int index) |
float |
getFloat(int index) |
int |
getInt(int index) |
long |
getLong(int index) |
Number |
getNumber(int index) |
String |
getString(int index) |
Object |
getValue(int index) |
MutableArray |
insertArray(int index,
Array value)
Inserts an Array object at the given index.
|
MutableArray |
insertBlob(int index,
Blob value)
Inserts a Blob object at the given index.
|
MutableArray |
insertBoolean(int index,
boolean value)
Inserts a boolean value at the given index.
|
MutableArray |
insertDate(int index,
Date value)
Inserts a Date object at the given index.
|
MutableArray |
insertDictionary(int index,
Dictionary value)
Inserts a Dictionary object at the given index.
|
MutableArray |
insertDouble(int index,
double value)
Inserts a double value at the given index.
|
MutableArray |
insertFloat(int index,
float value)
Inserts a float value at the given index.
|
MutableArray |
insertInt(int index,
int value)
Inserts an integer value at the given index.
|
MutableArray |
insertLong(int index,
long value)
Inserts a long value at the given index.
|
MutableArray |
insertNumber(int index,
Number value)
Inserts a Number object at the given index.
|
MutableArray |
insertString(int index,
String value)
Inserts a String object at the given index.
|
MutableArray |
insertValue(int index,
Object value)
Inserts an object at the given index.
|
MutableArray |
remove(int index)
Removes the object at the given index.
|
MutableArray |
setArray(int index,
Array value)
Sets a Array object at the given index.
|
MutableArray |
setBlob(int index,
Blob value)
Sets a Blob object at the given index.
|
MutableArray |
setBoolean(int index,
boolean value)
Sets a boolean value at the given index.
|
MutableArray |
setData(List<Object> data)
Set an array as a content.
|
MutableArray |
setDate(int index,
Date value)
Sets a Date object at the given index.
|
MutableArray |
setDictionary(int index,
Dictionary value)
Sets a Dictionary object at the given index.
|
MutableArray |
setDouble(int index,
double value)
Sets a double value at the given index.
|
MutableArray |
setFloat(int index,
float value)
Sets a float value at the given index.
|
MutableArray |
setInt(int index,
int value)
Sets an integer value at the given index.
|
MutableArray |
setLong(int index,
long value)
Sets an integer value at the given index.
|
MutableArray |
setNumber(int index,
Number value)
Sets an NSNumber object at the given index.
|
MutableArray |
setString(int index,
String value)
Sets an String object at the given index.
|
MutableArray |
setValue(int index,
Object value)
Set an object at the given index.
|
List<Object> |
toList() |
count, encodeTo, equals, getBlob, getBoolean, getDate, getDouble, getFloat, getInt, getLong, getNumber, getString, getValue, hashCode, iterator, toList, toMutable
getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
@NonNull public MutableArray setData(List<Object> data)
data
- the array@NonNull public MutableArray setValue(int index, Object value)
index
- the index. This value must not exceed the bounds of the array.value
- the object@NonNull public MutableArray setString(int index, String value)
index
- the index. This value must not exceed the bounds of the array.value
- the String object@NonNull public MutableArray setNumber(int index, Number value)
index
- the index. This value must not exceed the bounds of the array.value
- the Number object@NonNull public MutableArray setInt(int index, int value)
index
- the index. This value must not exceed the bounds of the array.value
- the int value@NonNull public MutableArray setLong(int index, long value)
index
- the index. This value must not exceed the bounds of the array.value
- the long value@NonNull public MutableArray setFloat(int index, float value)
index
- the index. This value must not exceed the bounds of the array.value
- the float value@NonNull public MutableArray setDouble(int index, double value)
index
- the index. This value must not exceed the bounds of the array.value
- the double value@NonNull public MutableArray setBoolean(int index, boolean value)
index
- the index. This value must not exceed the bounds of the array.value
- the boolean value@NonNull public MutableArray setBlob(int index, Blob value)
index
- the index. This value must not exceed the bounds of the array.value
- the Blob object@NonNull public MutableArray setDate(int index, Date value)
index
- the index. This value must not exceed the bounds of the array.value
- the Date object@NonNull public MutableArray setArray(int index, Array value)
index
- the index. This value must not exceed the bounds of the array.value
- the Array object@NonNull public MutableArray setDictionary(int index, Dictionary value)
index
- the index. This value must not exceed the bounds of the array.value
- the Dictionary object@NonNull public MutableArray addValue(Object value)
value
- the object@NonNull public MutableArray addString(String value)
value
- the String object@NonNull public MutableArray addNumber(Number value)
value
- the Number object@NonNull public MutableArray addInt(int value)
value
- the int value@NonNull public MutableArray addLong(long value)
value
- the long value@NonNull public MutableArray addFloat(float value)
value
- the float value@NonNull public MutableArray addDouble(double value)
value
- the double value@NonNull public MutableArray addBoolean(boolean value)
value
- the boolean value@NonNull public MutableArray addBlob(Blob value)
value
- the Blob object@NonNull public MutableArray addDate(Date value)
value
- the Date object@NonNull public MutableArray addArray(Array value)
value
- the Array object@NonNull public MutableArray addDictionary(Dictionary value)
value
- the Dictionary object@NonNull public MutableArray insertValue(int index, Object value)
index
- the index. This value must not exceed the bounds of the array.value
- the object@NonNull public MutableArray insertString(int index, String value)
index
- the index. This value must not exceed the bounds of the array.value
- the String object@NonNull public MutableArray insertNumber(int index, Number value)
index
- the index. This value must not exceed the bounds of the array.value
- the Number object@NonNull public MutableArray insertInt(int index, int value)
index
- the index. This value must not exceed the bounds of the array.value
- the int value@NonNull public MutableArray insertLong(int index, long value)
index
- the index. This value must not exceed the bounds of the array.value
- the long value@NonNull public MutableArray insertFloat(int index, float value)
index
- the index. This value must not exceed the bounds of the array.value
- the float value@NonNull public MutableArray insertDouble(int index, double value)
index
- the index. This value must not exceed the bounds of the array.value
- the double value@NonNull public MutableArray insertBoolean(int index, boolean value)
index
- the index. This value must not exceed the bounds of the array.value
- the boolean value@NonNull public MutableArray insertBlob(int index, Blob value)
index
- the index. This value must not exceed the bounds of the array.value
- the Blob object@NonNull public MutableArray insertDate(int index, Date value)
index
- the index. This value must not exceed the bounds of the array.value
- the Date object@NonNull public MutableArray insertArray(int index, Array value)
index
- the index. This value must not exceed the bounds of the array.value
- the Array object@NonNull public MutableArray insertDictionary(int index, Dictionary value)
index
- the index. This value must not exceed the bounds of the array.value
- the Dictionary object@NonNull public MutableArray remove(int index)
index
- the index. This value must not exceed the bounds of the array.public MutableArray getArray(int index)
public MutableDictionary getDictionary(int index)
getDictionary
in class Array
index
- the index. This value must not exceed the bounds of the array.public int count()
public Object getValue(int index)
public String getString(int index)
public Number getNumber(int index)
public int getInt(int index)
public long getLong(int index)
public float getFloat(int index)
public double getDouble(int index)
public boolean getBoolean(int index)
public Blob getBlob(int index)
public Date getDate(int index)