public class WritableNativeMap extends ReadableNativeMap implements WritableMap
Arguments.createMap()
if you need to stub out creating this class in a test.
TODO(5815532): Check if consumed on readConstructor and Description |
---|
WritableNativeMap() |
Modifier and Type | Method and Description |
---|---|
void |
merge(ReadableMap source) |
void |
putArray(java.lang.String key,
WritableArray value) |
void |
putBoolean(java.lang.String key,
boolean value) |
void |
putDouble(java.lang.String key,
double value) |
void |
putInt(java.lang.String key,
int value) |
void |
putMap(java.lang.String key,
WritableMap value) |
void |
putNull(java.lang.String key) |
void |
putString(java.lang.String key,
java.lang.String value) |
getArray, getBoolean, getDouble, getInt, getMap, getString, getType, hasKey, isNull, keySetIterator, toHashMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getArray, getBoolean, getDouble, getInt, getMap, getString, getType, hasKey, isNull, keySetIterator
public void putBoolean(java.lang.String key, boolean value)
putBoolean
in interface WritableMap
public void putDouble(java.lang.String key, double value)
putDouble
in interface WritableMap
public void putInt(java.lang.String key, int value)
putInt
in interface WritableMap
public void putString(java.lang.String key, java.lang.String value)
putString
in interface WritableMap
public void putNull(java.lang.String key)
putNull
in interface WritableMap
public void putMap(java.lang.String key, WritableMap value)
putMap
in interface WritableMap
public void putArray(java.lang.String key, WritableArray value)
putArray
in interface WritableMap
public void merge(ReadableMap source)
merge
in interface WritableMap