protected void doUpdateSet(Object source, SetDiff diff) {
IObservableSet observable = observe(source);
try {
diff.applyTo(observable);
} finally {
observable.dispose();
}
}
public IObservableSet observe(Object source) {
return observe(Realm.getDefault(), source);