io.realm
Esta clase describe los cambios realizados en un conjunto durante la última actualización.:ref:SetChangeSet <io_realm_SetChangeSet> se pasa al SetChangeListener que está registrado por RealmSet.addChangeListener(SetChangeListener).
Constructores
Constructor and Description |
|---|
Resumen del método
Modificador y Tipo | Método y descripción |
|---|---|
public int | The number of entries that have been deleted |
public int | El número de entradas que se han insertado. |
public booleano | isEmpty () Whether the change set is empty or not. |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass,hashCode,equals,clone,toString,notify,notifyAll,wait,wait,wait,finalize
Detalle del constructor
Detalle del método
getNumberOfDeletions
public int getNumberOfDeletions () |
|---|
The number of entries that have been deleted Devuelve el número de eliminaciones |
getNumberOfInsertions
public int getNumberOfInsertions () |
|---|
El número de entradas que se han insertado. Devuelve el número de inserciones. |
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. |