|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
org.eclipse.emf.common.util.AbstractEList<E>
org.eclipse.emf.common.util.BasicEList<E>
org.eclipse.emf.ecore.util.BasicInternalEList<E>
public class BasicInternalEList<E>
A basic list that implements InternalEList.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList |
|---|
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList |
|---|
InternalEList.Unsettable<E> |
| Field Summary | |
|---|---|
protected java.lang.Class<? extends E> |
dataClass
|
| Fields inherited from class org.eclipse.emf.common.util.BasicEList |
|---|
data, size |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
BasicInternalEList(java.lang.Class<? extends E> dataClass)
|
|
BasicInternalEList(java.lang.Class<? extends E> dataClass,
java.util.Collection<? extends E> collection)
|
|
BasicInternalEList(java.lang.Class<? extends E> dataClass,
int initialCapacity)
|
|
BasicInternalEList(java.lang.Class<? extends E> dataClass,
int size,
java.lang.Object[] data)
|
|
| Method Summary | ||
|---|---|---|
NotificationChain |
basicAdd(E object,
NotificationChain notifications)
Adds the object without updating the inverse. |
|
boolean |
basicContains(java.lang.Object object)
Returns whether the object is contained within the list of unresolved values. |
|
boolean |
basicContainsAll(java.util.Collection<?> collection)
Returns whether each object in the collection is contained within the list of unresolved values. |
|
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values. |
|
java.util.Iterator<E> |
basicIterator()
Returns a read-only iterator that does not resolve objects. |
|
int |
basicLastIndexOf(java.lang.Object object)
Returns the last index of the object within the list of unresolved values. |
|
java.util.List<E> |
basicList()
Returns an unsafe list that provides a non-resolving view of the underlying data storage. |
|
java.util.ListIterator<E> |
basicListIterator()
Returns a read-only list iterator that does not resolve objects. |
|
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a read-only list iterator advanced to the given index that does not resolve objects. |
|
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Removes the object with without updating the inverse. |
|
java.lang.Object[] |
basicToArray()
Returns the array with unresolved values. |
|
|
basicToArray(T[] array)
Returns the array with unresolved values. |
|
protected java.lang.Object[] |
newData(int capacity)
Returns new allocated data storage. |
|
| Methods inherited from class org.eclipse.emf.common.util.BasicEList |
|---|
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, clear, clone, contains, data, get, grow, indexOf, isEmpty, lastIndexOf, move, primitiveGet, remove, setData, setUnique, shrink, size, toArray, toArray |
| Methods inherited from class org.eclipse.emf.common.util.AbstractEList |
|---|
add, add, addAll, addAll, canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, iterator, listIterator, listIterator, move, remove, removeAll, resolve, retainAll, set, toString, useEquals, validate |
| Methods inherited from class java.util.AbstractList |
|---|
removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList |
|---|
addAllUnique, addAllUnique, addUnique, addUnique, basicGet, setUnique |
| Methods inherited from interface org.eclipse.emf.common.util.EList |
|---|
move, move |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Field Detail |
|---|
protected final java.lang.Class<? extends E> dataClass
| Constructor Detail |
|---|
public BasicInternalEList(java.lang.Class<? extends E> dataClass)
public BasicInternalEList(java.lang.Class<? extends E> dataClass,
int initialCapacity)
public BasicInternalEList(java.lang.Class<? extends E> dataClass,
java.util.Collection<? extends E> collection)
public BasicInternalEList(java.lang.Class<? extends E> dataClass,
int size,
java.lang.Object[] data)
| Method Detail |
|---|
protected java.lang.Object[] newData(int capacity)
BasicEList
newData in class BasicEList<E>
public NotificationChain basicRemove(java.lang.Object object,
NotificationChain notifications)
InternalEList
basicRemove in interface InternalEList<E>
public NotificationChain basicAdd(E object,
NotificationChain notifications)
InternalEList
basicAdd in interface InternalEList<E>public java.util.Iterator<E> basicIterator()
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEIterator.
basicIterator in interface InternalEList<E>basicIterator in class AbstractEList<E>public java.util.List<E> basicList()
BasicEListnon-resolving view of the underlying data storage.
basicList in interface InternalEList<E>basicList in class BasicEList<E>public java.util.ListIterator<E> basicListIterator()
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator.
basicListIterator in interface InternalEList<E>basicListIterator in class AbstractEList<E>public java.util.ListIterator<E> basicListIterator(int index)
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator.
basicListIterator in interface InternalEList<E>basicListIterator in class AbstractEList<E>index - the starting index.
public boolean basicContains(java.lang.Object object)
InternalEList
basicContains in interface InternalEList<E>public boolean basicContainsAll(java.util.Collection<?> collection)
InternalEList
basicContainsAll in interface InternalEList<E>public int basicIndexOf(java.lang.Object object)
InternalEList
basicIndexOf in interface InternalEList<E>public int basicLastIndexOf(java.lang.Object object)
InternalEList
basicLastIndexOf in interface InternalEList<E>public java.lang.Object[] basicToArray()
InternalEList
basicToArray in interface InternalEList<E>public <T> T[] basicToArray(T[] array)
InternalEList
basicToArray in interface InternalEList<E>
|
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 | |||||||||