|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
org.eclipse.emf.common.util.BasicEList
org.eclipse.emf.common.notify.impl.NotificationChainImpl
A list that acts as a notification chain.
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.common.util.BasicEList |
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator, BasicEList.EListIterator, BasicEList.FastCompare, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator, BasicEList.UnmodifiableEList |
Field Summary |
Fields inherited from class org.eclipse.emf.common.util.BasicEList |
data, size |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
NotificationChainImpl()
Creates an empty instance. |
|
NotificationChainImpl(int initialCapacity)
Creates an empty instance with a given capacity. |
Method Summary | |
boolean |
add(Notification newNotification)
Adds or merges a new notification. |
boolean |
add(Object object)
Returns the result of calling add(Notification) . |
void |
dispatch()
Dispatches each notification to the appropriate notifier via Notifier.eNotify . |
protected void |
dispatch(Notification notification)
Dispatches the notification to it's notifier. |
protected Object[] |
newData(int capacity)
Returns new data storage of type Notification []. |
Methods inherited from class org.eclipse.emf.common.util.BasicEList |
add, addAll, addAll, addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicIterator, basicList, basicListIterator, basicListIterator, canContainNull, clear, clone, contains, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, indexOf, isEmpty, isUnique, iterator, lastIndexOf, listIterator, listIterator, move, move, remove, remove, removeAll, resolve, retainAll, set, setData, setUnique, shrink, size, toArray, toArray, toString, useEquals, validate |
Methods inherited from class java.util.AbstractList |
removeRange, subList |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
subList |
Constructor Detail |
public NotificationChainImpl()
public NotificationChainImpl(int initialCapacity)
Method Detail |
protected Object[] newData(int capacity)
Notification
[].
newData
in class BasicEList
public boolean add(Notification newNotification)
add
in interface NotificationChain
newNotification
- a notification.
true
when the notification is added and false
when it is merged.public boolean add(Object object)
add(Notification)
.
add
in interface List
add
in class BasicEList
object
- the notification to add.
add(Notification)
.BasicEList.addUnique(Object)
public void dispatch()
NotificationChain
Notifier.eNotify
.
dispatch
in interface NotificationChain
protected void dispatch(Notification notification)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |