Package com.couchbase.lite
Interface DictionaryInterface
-
- All Known Subinterfaces:
MutableDictionaryInterface
- All Known Implementing Classes:
Dictionary
,Document
,MutableDictionary
,MutableDocument
,Result
@Internal("This interface is not part of the public API") public interface DictionaryInterface
This is an internal interface and not part of the public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
contains(String key)
int
count()
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 ArrayInterface getArray(@NonNull String key)
-
getDictionary
@Nullable DictionaryInterface getDictionary(@NonNull String key)
-
toJSON
@Nullable String toJSON()
-
-