public class InvertableQueryBasedEList<ComputedType,StorageType>
extends org.eclipse.emf.common.util.AbstractEList<ComputedType>
org.eclipse.emf.common.util.AbstractEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.AbstractEList.EIterator<E1>, org.eclipse.emf.common.util.AbstractEList.EListIterator<E1>, org.eclipse.emf.common.util.AbstractEList.NonResolvingEIterator<E1>, org.eclipse.emf.common.util.AbstractEList.NonResolvingEListIterator<E1>| Constructor and Description |
|---|
InvertableQueryBasedEList(org.eclipse.emf.ecore.EObject sourceObject,
org.eclipse.emf.common.util.EList<StorageType> storageEList,
IQueryBasedFeatureHandler handler,
QueryBasedFeatureInverter<ComputedType,StorageType> inverter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllUnique(java.util.Collection<? extends ComputedType> collection) |
boolean |
addAllUnique(int index,
java.util.Collection<? extends ComputedType> collection) |
boolean |
addAllUnique(int index,
java.lang.Object[] objects,
int start,
int end) |
boolean |
addAllUnique(java.lang.Object[] objects,
int start,
int end) |
void |
addUnique(ComputedType object) |
void |
addUnique(int index,
ComputedType object) |
protected java.util.List<ComputedType> |
basicList() |
ComputedType |
get(int index) |
ComputedType |
move(int targetIndex,
int sourceIndex) |
protected ComputedType |
primitiveGet(int index) |
ComputedType |
remove(int index) |
ComputedType |
setUnique(int index,
ComputedType object) |
int |
size() |
protected ComputedType |
validate(int index,
ComputedType object) |
add, add, addAll, addAll, basicGet, 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, useEqualsclear, indexOf, lastIndexOf, removeRange, subListcontains, containsAll, isEmpty, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic InvertableQueryBasedEList(org.eclipse.emf.ecore.EObject sourceObject,
org.eclipse.emf.common.util.EList<StorageType> storageEList,
IQueryBasedFeatureHandler handler,
QueryBasedFeatureInverter<ComputedType,StorageType> inverter)
protected ComputedType validate(int index, ComputedType object)
validate in class org.eclipse.emf.common.util.AbstractEList<ComputedType>protected ComputedType primitiveGet(int index)
primitiveGet in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public ComputedType setUnique(int index, ComputedType object)
setUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public void addUnique(ComputedType object)
addUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public void addUnique(int index,
ComputedType object)
addUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public boolean addAllUnique(java.util.Collection<? extends ComputedType> collection)
addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public boolean addAllUnique(int index,
java.util.Collection<? extends ComputedType> collection)
addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public boolean addAllUnique(java.lang.Object[] objects,
int start,
int end)
addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public boolean addAllUnique(int index,
java.lang.Object[] objects,
int start,
int end)
addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public ComputedType remove(int index)
remove in interface java.util.List<ComputedType>remove in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public ComputedType move(int targetIndex, int sourceIndex)
move in interface org.eclipse.emf.common.util.EList<ComputedType>move in class org.eclipse.emf.common.util.AbstractEList<ComputedType>protected java.util.List<ComputedType> basicList()
basicList in class org.eclipse.emf.common.util.AbstractEList<ComputedType>public ComputedType get(int index)
get in interface java.util.List<ComputedType>get in class java.util.AbstractList<ComputedType>public int size()
size in interface java.util.Collection<ComputedType>size in interface java.util.List<ComputedType>size in class java.util.AbstractCollection<ComputedType>