RealmMap
A RealmMap
is used to map keys to values. RealmMap
s cannot contain duplicate keys and each key can be mapped to at most one value. RealmMap
s cannot have null
keys but can have null
values.
Similarly to RealmList and RealmSet, RealmDictionary
properties cannot be nullable.
Most importantly, RealmMap
s can only have String
keys and should not be used to define properties in RealmObjects. If you need to use a Map<String, V>
or a dictionary-type data structure for your model you should use RealmDictionary.
Parameters
K
the type of the keys stored in this map
V
the type of the values stored in this map
Functions
Properties
Inheritors
RealmDictionary
Link copied to clipboard