Package com.couchbase.lite
Interface MutableDictionaryInterface
-
- All Superinterfaces:
DictionaryInterface
- All Known Implementing Classes:
MutableDictionary
,MutableDocument
public interface MutableDictionaryInterface extends DictionaryInterface
Note: MutableDictionaryInterface is an internal interface. This should not be public.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.couchbase.lite.MutableArrayInterface
getArray(java.lang.String key)
MutableDictionaryInterface
getDictionary(java.lang.String key)
MutableDictionaryInterface
remove(java.lang.String key)
MutableDictionaryInterface
setArray(java.lang.String key, Array value)
MutableDictionaryInterface
setBlob(java.lang.String key, Blob value)
MutableDictionaryInterface
setBoolean(java.lang.String key, boolean value)
MutableDictionaryInterface
setData(java.util.Map<java.lang.String,java.lang.Object> data)
MutableDictionaryInterface
setDate(java.lang.String key, java.util.Date value)
MutableDictionaryInterface
setDictionary(java.lang.String key, Dictionary value)
MutableDictionaryInterface
setDouble(java.lang.String key, double value)
MutableDictionaryInterface
setFloat(java.lang.String key, float value)
MutableDictionaryInterface
setInt(java.lang.String key, int value)
MutableDictionaryInterface
setJSON(java.lang.String json)
MutableDictionaryInterface
setLong(java.lang.String key, long value)
MutableDictionaryInterface
setNumber(java.lang.String key, java.lang.Number value)
MutableDictionaryInterface
setString(java.lang.String key, java.lang.String value)
MutableDictionaryInterface
setValue(java.lang.String key, java.lang.Object value)
-
-
-
Method Detail
-
getArray
@Nullable com.couchbase.lite.MutableArrayInterface getArray(@NonNull java.lang.String key)
- Specified by:
getArray
in interfaceDictionaryInterface
-
getDictionary
@Nullable MutableDictionaryInterface getDictionary(@NonNull java.lang.String key)
- Specified by:
getDictionary
in interfaceDictionaryInterface
-
remove
@NonNull MutableDictionaryInterface remove(@NonNull java.lang.String key)
-
setInt
@NonNull MutableDictionaryInterface setInt(@NonNull java.lang.String key, int value)
-
setLong
@NonNull MutableDictionaryInterface setLong(@NonNull java.lang.String key, long value)
-
setFloat
@NonNull MutableDictionaryInterface setFloat(@NonNull java.lang.String key, float value)
-
setDouble
@NonNull MutableDictionaryInterface setDouble(@NonNull java.lang.String key, double value)
-
setBoolean
@NonNull MutableDictionaryInterface setBoolean(@NonNull java.lang.String key, boolean value)
-
setNumber
@NonNull MutableDictionaryInterface setNumber(@NonNull java.lang.String key, @NonNull java.lang.Number value)
-
setString
@NonNull MutableDictionaryInterface setString(@NonNull java.lang.String key, @NonNull java.lang.String value)
-
setDate
@NonNull MutableDictionaryInterface setDate(@NonNull java.lang.String key, @NonNull java.util.Date value)
-
setBlob
@NonNull MutableDictionaryInterface setBlob(@NonNull java.lang.String key, @NonNull Blob value)
-
setValue
@NonNull MutableDictionaryInterface setValue(@NonNull java.lang.String key, @Nullable java.lang.Object value)
-
setArray
@NonNull MutableDictionaryInterface setArray(@NonNull java.lang.String key, @NonNull Array value)
-
setDictionary
@NonNull MutableDictionaryInterface setDictionary(@NonNull java.lang.String key, @NonNull Dictionary value)
-
setData
@NonNull MutableDictionaryInterface setData(@NonNull java.util.Map<java.lang.String,java.lang.Object> data)
-
setJSON
@NonNull MutableDictionaryInterface setJSON(@NonNull java.lang.String json)
-
-