Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /
io.realm

Clase SetChangeSet

java.lang.Object
io.realm.SetChangeSet

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).

Constructor and Description
OsCollectionChangeSet osCollectionChangeSet
)
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

Whether the change set is empty or not.

  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

public SetChangeSet (
OsCollectionChangeSet osCollectionChangeSet
)
public int getNumberOfDeletions ()

The number of entries that have been deleted

Devuelve

el número de eliminaciones

public int getNumberOfInsertions ()

El número de entradas que se han insertado.

Devuelve

el número de inserciones.

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.

Volver

SetChangeListener

En esta página