Class FLArray
- java.lang.Object
-
- com.couchbase.lite.internal.fleece.FLArray
-
public class FLArray extends Object
-
-
Constructor Summary
Constructors Constructor Description FLArray(long peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
asArray()
<T> List<T>
asTypedArray()
long
count()
Returns the number of items in an array; 0 if peer is null.FLValue
get(long index)
Returns an value at an array index, or null if the index is out of range.
-
-
-
Method Detail
-
count
public long count()
Returns the number of items in an array; 0 if peer is null.- Returns:
- the number of items in an array; 0 if peer is null.
-
get
@NonNull public FLValue get(long index)
Returns an value at an array index, or null if the index is out of range.- Parameters:
index
- index for value- Returns:
- the FLValue at index
-
asTypedArray
@NonNull public <T> List<T> asTypedArray()
-
-