E - public class DecoratingObservableCollection<E> extends DecoratingObservable implements IObservableCollection<E>
| Constructor and Description |
|---|
DecoratingObservableCollection(IObservableCollection<E> decorated,
boolean disposeDecoratedOnDispose) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
boolean |
addAll(Collection<? extends E> c) |
protected void |
addListener(Object listenerType,
IObservablesListener listener) |
void |
clear() |
protected Object |
clone() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
void |
dispose()
Disposes of this observable object, removing all listeners registered
with this object, and all listeners this object might have registered on
other objects.
|
boolean |
equals(Object obj) |
protected void |
fireEvent(ObservableEvent event) |
Object |
getElementType()
Returns the element type of this observable collection, or
null if this observable collection is untyped. |
Realm |
getRealm() |
int |
hashCode() |
protected boolean |
hasListeners() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
protected void |
removeListener(Object listenerType,
IObservablesListener listener) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
firstListenerAdded, getDecorated, getterCalled, handleStaleEvent, isStale, lastListenerRemovedaddChangeListener, addDisposeListener, addStaleListener, checkRealm, fireChange, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListenerfinalize, getClass, notify, notifyAll, wait, wait, waitaddChangeListener, addDisposeListener, addStaleListener, getRealm, isDisposed, isStale, removeChangeListener, removeDisposeListener, removeStaleListenerparallelStream, removeIf, spliterator, streampublic DecoratingObservableCollection(IObservableCollection<E> decorated, boolean disposeDecoratedOnDispose)
decorated - disposeDecoratedOnDispose - public boolean add(E o)
add in interface Collection<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>public void clear()
clear in interface Collection<E>public boolean contains(Object o)
contains in interface Collection<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>public boolean isEmpty()
isEmpty in interface Collection<E>public boolean remove(Object o)
remove in interface Collection<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>public int size()
size in interface Collection<E>public Object[] toArray()
toArray in interface Collection<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>public Object getElementType()
IObservableCollectionnull if this observable collection is untyped.getElementType in interface IObservableCollection<E>null if this observable collection is untyped.public boolean equals(Object obj)
equals in interface Collection<E>equals in class DecoratingObservablepublic int hashCode()
hashCode in interface Collection<E>hashCode in class DecoratingObservablepublic void dispose()
IObservabledispose in interface IObservabledispose in class DecoratingObservableprotected 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.