-
- 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 int
jniPassCounter
-
Method Summary
Modifier and Type Method Description static int
getJNIPassCounter()
int
size()
boolean
isNull(int index)
boolean
getBoolean(int index)
double
getDouble(int index)
int
getInt(int index)
String
getString(int index)
ReadableNativeArray
getArray(int index)
ReadableNativeMap
getMap(int index)
ReadableType
getType(int index)
Dynamic
getDynamic(int index)
int
hashCode()
boolean
equals(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()
-
-
-
-