Package org.bimserver.client
Class EDelegatingList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.eclipse.emf.common.util.AbstractEList<E>
-
- org.bimserver.client.EDelegatingList<E>
-
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,org.eclipse.emf.common.util.EList<E>
public class EDelegatingList<E> extends org.eclipse.emf.common.util.AbstractEList<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.AbstractEList
org.eclipse.emf.common.util.AbstractEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.AbstractEList.EIterator<E1 extends Object>, org.eclipse.emf.common.util.AbstractEList.EListIterator<E1 extends Object>, org.eclipse.emf.common.util.AbstractEList.NonResolvingEIterator<E1 extends Object>, org.eclipse.emf.common.util.AbstractEList.NonResolvingEListIterator<E1 extends Object>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description EDelegatingList(ClientIfcModel model, org.bimserver.emf.IdEObject subject, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.common.util.AbstractEList<E> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E newValue)booleanaddAllUnique(int index, Object[] objects, int start, int end)booleanaddAllUnique(int index, Collection<? extends E> collection)booleanaddAllUnique(Object[] objects, int start, int end)booleanaddAllUnique(Collection<? extends E> collection)voidaddUnique(int index, E object)voidaddUnique(E object)protected List<E>basicList()Eget(int index)Emove(int targetIndex, int sourceIndex)protected EprimitiveGet(int index)Eremove(int index)EsetUnique(int index, E newValue)intsize()-
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
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, useEquals, validate
-
Methods inherited from class java.util.AbstractList
clear, indexOf, lastIndexOf, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
clear, contains, containsAll, indexOf, isEmpty, lastIndexOf, replaceAll, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
EDelegatingList
public EDelegatingList(ClientIfcModel model, org.bimserver.emf.IdEObject subject, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.common.util.AbstractEList<E> delegate)
-
-
Method Detail
-
add
public boolean add(E newValue)
-
setUnique
public E setUnique(int index, E newValue)
- Specified by:
setUniquein classorg.eclipse.emf.common.util.AbstractEList<E>
-
addUnique
public void addUnique(E object)
- Specified by:
addUniquein classorg.eclipse.emf.common.util.AbstractEList<E>
-
addUnique
public void addUnique(int index, E object)- Specified by:
addUniquein classorg.eclipse.emf.common.util.AbstractEList<E>
-
addAllUnique
public boolean addAllUnique(Collection<? extends E> collection)
- Specified by:
addAllUniquein classorg.eclipse.emf.common.util.AbstractEList<E>
-
addAllUnique
public boolean addAllUnique(int index, Collection<? extends E> collection)- Specified by:
addAllUniquein classorg.eclipse.emf.common.util.AbstractEList<E>
-
addAllUnique
public boolean addAllUnique(Object[] objects, int start, int end)
- Specified by:
addAllUniquein classorg.eclipse.emf.common.util.AbstractEList<E>
-
addAllUnique
public boolean addAllUnique(int index, Object[] objects, int start, int end)- Specified by:
addAllUniquein classorg.eclipse.emf.common.util.AbstractEList<E>
-
remove
public E remove(int index)
-
move
public E move(int targetIndex, int sourceIndex)
-
basicList
protected List<E> basicList()
- Specified by:
basicListin classorg.eclipse.emf.common.util.AbstractEList<E>
-
get
public E get(int index)
-
size
public int size()
- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceList<E>- Specified by:
sizein classAbstractCollection<E>
-
-