Package com.couchbase.lite
Interface DictionaryInterface
-
- All Known Subinterfaces:
MutableDictionaryInterface
- All Known Implementing Classes:
Dictionary
,Document
,MutableDictionary
,MutableDocument
,Result
public interface DictionaryInterface
Note: DictionaryInterface is an internal interface. This should not be public.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
contains(String key)
int
count()
com.couchbase.lite.ArrayInterface
getArray(String key)
Blob
getBlob(String key)
boolean
getBoolean(String key)
Date
getDate(String key)
DictionaryInterface
getDictionary(String key)
double
getDouble(String key)
float
getFloat(String key)
int
getInt(String key)
List<String>
getKeys()
long
getLong(String key)
Number
getNumber(String key)
String
getString(String key)
Object
getValue(String key)
String
toJSON()
Map<String,Object>
toMap()
-
-
-
Method Detail
-
count
int count()
-
contains
boolean contains(@NonNull String key)
-
getInt
int getInt(@NonNull String key)
-
getLong
long getLong(@NonNull String key)
-
getFloat
float getFloat(@NonNull String key)
-
getDouble
double getDouble(@NonNull String key)
-
getBoolean
boolean getBoolean(@NonNull String key)
-
getArray
@Nullable com.couchbase.lite.ArrayInterface getArray(@NonNull String key)
-
getDictionary
@Nullable DictionaryInterface getDictionary(@NonNull String key)
-
toJSON
@Nullable String toJSON()
-
-