-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeArrayInterface,com.facebook.react.bridge.ReadableArray
public class ReadableNativeArray extends NativeArray implements ReadableArray
Implementation of a NativeArray that allows read-only access to its members. This will generally be constructed and filled in native code so you shouldn't construct one yourself.
-
-
Field Summary
Fields Modifier and Type Field Description private static intjniPassCounter
-
Method Summary
Modifier and Type Method Description static intgetJNIPassCounter()intsize()booleanisNull(int index)booleangetBoolean(int index)doublegetDouble(int index)intgetInt(int index)StringgetString(int index)ReadableNativeArraygetArray(int index)ReadableNativeMapgetMap(int index)ReadableTypegetType(int index)DynamicgetDynamic(int index)inthashCode()booleanequals(Object obj)ArrayList<Object>toArrayList()-
-
Method Detail
-
getJNIPassCounter
static int getJNIPassCounter()
-
size
int size()
-
isNull
boolean isNull(int index)
-
getBoolean
boolean getBoolean(int index)
-
getDouble
double getDouble(int index)
-
getInt
int getInt(int index)
-
getArray
@NonNull() ReadableNativeArray getArray(int index)
-
getMap
@NonNull() ReadableNativeMap getMap(int index)
-
getType
@NonNull() ReadableType getType(int index)
-
getDynamic
@NonNull() Dynamic getDynamic(int index)
-
hashCode
int hashCode()
-
toArrayList
@NonNull() ArrayList<Object> toArrayList()
-
-
-
-