Class CollectionChange
On this page
io.realm.rx
Container wrapping the result of a io.realm.OrderedRealmCollectionChangeListener being triggered.
This is used by RealmResults.asChangesetObservable() } and RealmList.asChangesetObservable() as RxJava is only capable of emitting one item, not multiple.
Constructors
Constructor and Description |
---|
Constructor for a CollectionChange. |
Method Summary
Modifier and Type | Method and Description |
---|---|
public boolean | |
public OrderedCollectionChangeSet | getChangeset () Returns the changeset describing the update. |
public E | Returns the collection that was updated. |
public int | hashCode () |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass
,hashCode
,equals
,clone
,toString
,notify
,notifyAll
,wait
,wait
,wait
,finalize
Constructor Detail
Constructor for a CollectionChange. Parameters
|
Method Detail
equals
getChangeset
public OrderedCollectionChangeSet getChangeset () | ||||||||
---|---|---|---|---|---|---|---|---|
Returns the changeset describing the update.This will be
Returns the changeset describing how the collection was updated. |
getCollection
public E getCollection () |
---|
Returns the collection that was updated. Returns collection that was updated. |