Modifier and Type | Field and Description |
---|---|
protected MArray |
_array |
Modifier and Type | Method and Description |
---|---|
protected static MValue |
_get(MArray array,
int index) |
int |
count()
Gets a number of the items in the array.
|
void |
encodeTo(FLEncoder enc) |
boolean |
equals(Object o) |
Array |
getArray(int index)
Gets a Array at the given index.
|
Blob |
getBlob(int index)
Gets value at the given index as a Blob.
|
boolean |
getBoolean(int index)
Gets value at the given index as a boolean.
|
Date |
getDate(int index)
Gets value at the given index as a Date.
|
Dictionary |
getDictionary(int index)
Gets a Dictionary at the given index.
|
double |
getDouble(int index)
Gets value at the given index as an double.
|
float |
getFloat(int index)
Gets value at the given index as an float.
|
int |
getInt(int index)
Gets value at the given index as an int.
|
long |
getLong(int index)
Gets value at the given index as an long.
|
Number |
getNumber(int index)
Gets value at the given index as a Number.
|
String |
getString(int index)
Gets value at the given index as a String.
|
Object |
getValue(int index)
Gets value at the given index as an object.
|
int |
hashCode() |
Iterator<Object> |
iterator() |
protected String |
outOfBoundsMsg(int index) |
protected void |
rangeCheck(int index) |
List<Object> |
toList()
Gets content of the current object as an List.
|
MutableArray |
toMutable()
Return a mutable copy of the array
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int count()
public Object getValue(int index)
index
- the index. This value must not exceed the bounds of the array.public String getString(int index)
index
- the index. This value must not exceed the bounds of the array.public Number getNumber(int index)
index
- the index. This value must not exceed the bounds of the array.public int getInt(int index)
index
- the index. This value must not exceed the bounds of the array.public long getLong(int index)
index
- the index. This value must not exceed the bounds of the array.public float getFloat(int index)
index
- the index. This value must not exceed the bounds of the array.public double getDouble(int index)
index
- the index. This value must not exceed the bounds of the array.public boolean getBoolean(int index)
index
- the index. This value must not exceed the bounds of the array.public Blob getBlob(int index)
index
- the index. This value must not exceed the bounds of the array.public Date getDate(int index)
index
- the index. This value must not exceed the bounds of the array.public Array getArray(int index)
index
- the index. This value must not exceed the bounds of the array.public Dictionary getDictionary(int index)
index
- the index. This value must not exceed the bounds of the array.public List<Object> toList()
public MutableArray toMutable()
public void encodeTo(FLEncoder enc)
protected static MValue _get(MArray array, int index)
protected void rangeCheck(int index)
protected String outOfBoundsMsg(int index)