io.realm
Esta interfaz describe los cambios realizados en un mapa durante la última actualización.:ref:MapChangeSet <io_realm_MapChangeSet> se pasa al MapChangeListener que está registrado por RealmMap.addChangeListener(MapChangeListener).
Resumen del método
Modificador y Tipo | Método y descripción |
|---|---|
public T | getChanges () Array containing the keys that have been modified in the previous version of the map. |
public T | getDeletions () The number of entries that have been deleted in the previous version of the map. |
public T | Array containing the keys that have been inserted in the previous version of the map. |
public booleano | isEmpty () Whether the change set is empty or not. |
Detalle del método
getChanges
public T getChanges () |
|---|
Array containing the keys that have been modified in the previous version of the map. Devuelve array with the keys that have been modified. |
getDeletions
public T getDeletions () |
|---|
The number of entries that have been deleted in the previous version of the map. Devuelve array with the keys that have been deleted. |
getInsertions
public T getInsertions () |
|---|
Array containing the keys that have been inserted in the previous version of the map. Devuelve arreglo con las keys que han sido insertadas. |
isEmpty
public boolean isEmpty () |
|---|
Whether the change set is empty or not. This is needed to detect whether a notification has been triggered right after subscription. Devuelve si el conjunto de cambios contiene cambios. |