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

Class CollectionUtils

java.lang.Object
io.realm.CollectionUtils
Constructor and Description
Modificador y Tipo
Campo y Descripción

public static final String

public static final String

public static final String

Modificador y Tipo
Método y descripción

public static void

BaseRealm baseRealm,
Object listener,
boolean checkListener
)

Checks whether it is possible to add or remove a provided listener.

public static E

BaseRealm baseRealm,
E object
)

Called by both list and dictionary operators to copy a RealmModel to Realm in case it has been deemed necessary.

  • Métodos heredados de la clase java.lang.Object: getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

public CollectionUtils ()

public static void checkForAddRemoveListener (
BaseRealm baseRealm,
Object listener,
boolean checkListener
)

Checks whether it is possible to add or remove a provided listener.

Parámetros

  • listener - Se deben verificar los escuchas

  • checkListener - whether the check should be performed.

public static E copyToRealm <E >(
BaseRealm baseRealm,
E object
)

Called by both list and dictionary operators to copy a RealmModel to Realm in case it has been deemed necessary.

Type Parameters

  • E - El tipo RealmModel.

Parámetros

  • baseRealm - La instancia Realm a la que se debe copiar el objeto.

  • object - El objeto a copiar.

Devuelve

the copied object

Volver

Caso

En esta página