예제 #1
0
 @Override
 default void addListener(InvalidationListener listener) {
   addQuasiChangeObserver(new InvalidationListenerWrapper<>(this, listener));
 }
예제 #2
0
 default Subscription observeQuasiChanges(QuasiChangeObserver<? super E> observer) {
   addQuasiChangeObserver(observer);
   return () -> removeQuasiChangeObserver(observer);
 }
예제 #3
0
 @Override
 default void addListener(ListChangeListener<? super E> listener) {
   addQuasiChangeObserver(new ChangeListenerWrapper<>(this, listener));
 }
예제 #4
0
 default void addChangeObserver(Consumer<? super ListChange<? extends E>> observer) {
   addQuasiChangeObserver(new ChangeObserverWrapper<>(this, observer));
 }