| Modifier and Type | Method and Description |
|---|---|
int |
count()
Gets a number of the items in the array.
|
void |
fleeceEncode(FLEncoder encoder,
Database database) |
ReadOnlyArray |
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.
|
protected com.couchbase.lite.CBLFLArray |
getData() |
Date |
getDate(int index)
Gets value at the given index as a Date.
|
ReadOnlyDictionary |
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.
|
Object |
getObject(int index)
Gets value at the given index as an object.
|
String |
getString(int index)
Gets value at the given index as a String.
|
Iterator<Object> |
iterator() |
protected void |
setData(com.couchbase.lite.CBLFLArray data) |
List<Object> |
toList()
Gets content of the current object as an List.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic int count()
public Object getObject(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 ReadOnlyArray getArray(int index)
index - the index. This value must not exceed the bounds of the array.public ReadOnlyDictionary getDictionary(int index)
index - the index. This value must not exceed the bounds of the array.public List<Object> toList()
protected com.couchbase.lite.CBLFLArray getData()
protected void setData(com.couchbase.lite.CBLFLArray data)
public void fleeceEncode(FLEncoder encoder,
Database database)