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
public MutableArray setData(List<Object> data)
data
- the arraypublic MutableArray setValue(int index, Object value)
index
- the index. This value must not exceed the bounds of the array.value
- the objectpublic MutableArray setString(int index, String value)
index
- the index. This value must not exceed the bounds of the array.value
- the String objectpublic MutableArray setNumber(int index, Number value)
index
- the index. This value must not exceed the bounds of the array.value
- the Number objectpublic MutableArray setInt(int index, int value)
index
- the index. This value must not exceed the bounds of the array.value
- the int valuepublic MutableArray setLong(int index, long value)
index
- the index. This value must not exceed the bounds of the array.value
- the long valuepublic MutableArray setFloat(int index, float value)
index
- the index. This value must not exceed the bounds of the array.value
- the float valuepublic MutableArray setDouble(int index, double value)
index
- the index. This value must not exceed the bounds of the array.value
- the double valuepublic MutableArray setBoolean(int index, boolean value)
index
- the index. This value must not exceed the bounds of the array.value
- the boolean valuepublic MutableArray setBlob(int index, Blob value)
index
- the index. This value must not exceed the bounds of the array.value
- the Blob objectpublic MutableArray setDate(int index, Date value)
index
- the index. This value must not exceed the bounds of the array.value
- the Date objectpublic MutableArray setArray(int index, Array value)
index
- the index. This value must not exceed the bounds of the array.value
- the Array objectpublic MutableArray setDictionary(int index, Dictionary value)
index
- the index. This value must not exceed the bounds of the array.value
- the Dictionary objectpublic MutableArray addValue(Object value)
value
- the objectpublic MutableArray addString(String value)
value
- the String objectpublic MutableArray addNumber(Number value)
value
- the Number objectpublic MutableArray addInt(int value)
value
- the int valuepublic MutableArray addLong(long value)
value
- the long valuepublic MutableArray addFloat(float value)
value
- the float valuepublic MutableArray addDouble(double value)
value
- the double valuepublic MutableArray addBoolean(boolean value)
value
- the boolean valuepublic MutableArray addBlob(Blob value)
value
- the Blob objectpublic MutableArray addDate(Date value)
value
- the Date objectpublic MutableArray addArray(Array value)
value
- the Array objectpublic MutableArray addDictionary(Dictionary value)
value
- the Dictonary objectpublic MutableArray insertValue(int index, Object value)
index
- the index. This value must not exceed the bounds of the array.value
- the objectpublic MutableArray insertString(int index, String value)
index
- the index. This value must not exceed the bounds of the array.value
- the String objectpublic MutableArray insertNumber(int index, Number value)
index
- the index. This value must not exceed the bounds of the array.value
- the Number objectpublic MutableArray insertInt(int index, int value)
index
- the index. This value must not exceed the bounds of the array.value
- the int valuepublic MutableArray insertLong(int index, long value)
index
- the index. This value must not exceed the bounds of the array.value
- the long valuepublic MutableArray insertFloat(int index, float value)
index
- the index. This value must not exceed the bounds of the array.value
- the float valuepublic MutableArray insertDouble(int index, double value)
index
- the index. This value must not exceed the bounds of the array.value
- the double valuepublic MutableArray insertBoolean(int index, boolean value)
index
- the index. This value must not exceed the bounds of the array.value
- the boolean valuepublic MutableArray insertBlob(int index, Blob value)
index
- the index. This value must not exceed the bounds of the array.value
- the Blob objectpublic MutableArray insertDate(int index, Date value)
index
- the index. This value must not exceed the bounds of the array.value
- the Date objectpublic MutableArray insertArray(int index, Array value)
index
- the index. This value must not exceed the bounds of the array.value
- the Array objectpublic MutableArray insertDictionary(int index, Dictionary value)
index
- the index. This value must not exceed the bounds of the array.value
- the Dictionary objectpublic 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)