public class SynchronizedObservableSet<E> extends java.lang.Object implements SetDecorator<E>, ObservableSet<E>
ObservableSet.Change<E>| Constructor and Description |
|---|
SynchronizedObservableSet(ObservableSet<E> component) |
| Modifier and Type | Method and Description |
|---|---|
Observable<ObservableSet.Change<E>> |
changes() |
boolean |
equals(java.lang.Object obj) |
java.util.Set<E> |
getComponent() |
java.lang.Object |
getMutex() |
int |
hashCode() |
Observable<? extends ObservableCollection<E,ObservableSet.Change<E>>> |
invalidations() |
static <E> SynchronizedObservableSet<E> |
over(ObservableSet<E> component) |
java.util.Set<E> |
silent()
Get a view of the collection which can be mutated without triggering events.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaccumulatingSet, add, addAll, clear, contains, containsAll, isEmpty, iterator, over, remove, removeAll, retainAll, size, toArray, toArraysynchronizedView, unmodifiableViewpublic SynchronizedObservableSet(ObservableSet<E> component)
public static <E> SynchronizedObservableSet<E> over(ObservableSet<E> component)
public java.lang.Object getMutex()
public java.util.Set<E> getComponent()
getComponent in interface CollectionDecorator<java.util.Set<E>,E>getComponent in interface SetDecorator<E>public Observable<ObservableSet.Change<E>> changes()
changes in interface ObservableCollection<E,ObservableSet.Change<E>>public Observable<? extends ObservableCollection<E,ObservableSet.Change<E>>> invalidations()
invalidations in interface ObservableCollection<E,ObservableSet.Change<E>>public java.util.Set<E> silent()
ObservableCollectionsilent in interface ObservableCollection<E,ObservableSet.Change<E>>silent in interface ObservableSet<E>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()