public class NotificationChainImpl extends BasicEList<Notification> implements NotificationChain
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E>data, size| Constructor and Description |
|---|
NotificationChainImpl()
Creates an empty instance.
|
NotificationChainImpl(int initialCapacity)
Creates an empty instance with a given capacity.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Notification newNotification)
Adds or merges a new notification.
|
void |
dispatch()
Dispatches each notification to the appropriate notifier via
Notifier.eNotify. |
protected void |
dispatch(Notification notification)
Dispatches the notification to its notifier.
|
protected java.lang.Object[] |
newData(int capacity)
Returns new data storage of type
Notification[]. |
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicList, clear, clone, contains, data, get, grow, indexOf, isEmpty, lastIndexOf, move, primitiveGet, remove, setData, setUnique, shrink, size, toArray, toArrayadd, addAll, addAll, basicIterator, basicListIterator, basicListIterator, canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, iterator, listIterator, listIterator, move, remove, removeAll, resolve, retainAll, set, toString, useEquals, validatepublic NotificationChainImpl()
public NotificationChainImpl(int initialCapacity)
initialCapacity - the initial capacity of the list before it must grow.protected java.lang.Object[] newData(int capacity)
Notification[].newData in class BasicEList<Notification>public boolean add(Notification newNotification)
add in interface java.util.Collection<Notification>add in interface java.util.List<Notification>add in interface NotificationChainadd in class AbstractEList<Notification>newNotification - a notification.true when the notification is added and false when it is merged.AbstractEList.addUnique(Object)public void dispatch()
NotificationChainNotifier.eNotify.dispatch in interface NotificationChainprotected void dispatch(Notification notification)
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature