Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
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

whether the change set contains changes.

Volver

SetChangeListener

En esta página