public class InvertableQueryBasedEList<ComputedType,StorageType>
extends org.eclipse.emf.common.util.AbstractEList<ComputedType>
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) |
ComputedType |
get(int index) |
ComputedType |
move(int targetIndex,
int sourceIndex) |
ComputedType |
remove(int index) |
ComputedType |
setUnique(int index,
ComputedType object) |
int |
size() |
add, add, addAll, addAll, equals, hashCode, iterator, listIterator, listIterator, move, remove, removeAll, retainAll, set, toString
public InvertableQueryBasedEList(org.eclipse.emf.ecore.EObject sourceObject, org.eclipse.emf.common.util.EList<StorageType> storageEList, IQueryBasedFeatureHandler handler, QueryBasedFeatureInverter<ComputedType,StorageType> inverter)
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>
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>