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,
Object elementType) |
UnionSet(Set<IObservableSet<? extends E>> childSets) |
UnionSet(Set<IObservableSet<? extends E>> childSets,
Object elementType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addListener(Object listenerType,
IObservablesListener listener) |
protected 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(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, waitspliteratoraddChangeListener, addDisposeListener, addStaleListener, getRealm, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListenerparallelStream, removeIf, streampublic UnionSet(IObservableSet<? extends E>[] childSets)
childSets - public UnionSet(Set<IObservableSet<? extends E>> childSets)
childSets - public UnionSet(IObservableSet<? extends E>[] childSets, Object elementType)
childSets - elementType - public UnionSet(Set<IObservableSet<? extends E>> childSets, 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(Object listenerType, IObservablesListener listener)
listenerType - listener - protected void removeListener(Object listenerType, IObservablesListener listener)
listenerType - listener - protected boolean hasListeners()
protected void fireEvent(ObservableEvent event)
public Realm getRealm()
protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.