E - type of the elements in the union setpublic final class UnionSet<E> extends ObservableSet<E>
This class is thread safe. All state accessing methods must be invoked from
the current realm. Methods for adding and removing
listeners may be invoked from any thread.
elementType, wrappedSet| Constructor and Description |
|---|
UnionSet(IObservableSet<? extends E>[] childSets) |
UnionSet(IObservableSet<? extends E>[] childSets,
java.lang.Object elementType) |
UnionSet(java.util.Set<IObservableSet<? extends E>> childSets) |
UnionSet(java.util.Set<IObservableSet<? extends E>> childSets,
java.lang.Object elementType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addListener(java.lang.Object listenerType,
IObservablesListener listener) |
protected java.lang.Object |
clone() |
protected void |
fireEvent(ObservableEvent event) |
protected void |
firstListenerAdded() |
Realm |
getRealm() |
protected void |
getterCalled() |
protected boolean |
hasListeners() |
boolean |
isStale()
Returns whether the state of this observable is stale and is expected to
change soon.
|
protected void |
lastListenerRemoved() |
protected void |
removeListener(java.lang.Object listenerType,
IObservablesListener listener) |
add, addAll, addSetChangeListener, clear, contains, containsAll, dispose, equals, fireChange, fireSetChange, getElementType, hashCode, isEmpty, iterator, remove, removeAll, removeSetChangeListener, retainAll, setStale, setWrappedSet, size, toArray, toArray, toStringaddChangeListener, addDisposeListener, addStaleListener, checkRealm, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListenerfinalize, getClass, notify, notifyAll, wait, wait, waitaddChangeListener, addDisposeListener, addStaleListener, getRealm, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListenerpublic UnionSet(IObservableSet<? extends E>[] childSets)
childSets - public UnionSet(java.util.Set<IObservableSet<? extends E>> childSets)
childSets - public UnionSet(IObservableSet<? extends E>[] childSets, java.lang.Object elementType)
childSets - elementType - public UnionSet(java.util.Set<IObservableSet<? extends E>> childSets, java.lang.Object elementType)
childSets - elementType - public boolean isStale()
IObservableisStale in interface IObservableisStale in class ObservableSet<E>protected void firstListenerAdded()
protected void lastListenerRemoved()
protected void getterCalled()
getterCalled in class ObservableSet<E>protected void addListener(java.lang.Object listenerType,
IObservablesListener listener)
listenerType - listener - protected void removeListener(java.lang.Object listenerType,
IObservablesListener listener)
listenerType - listener - protected boolean hasListeners()
protected void fireEvent(ObservableEvent event)
public Realm getRealm()
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.