Package com.nomagic.magicdraw.uml2.util
Class FastContainsList<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.eclipse.emf.common.util.AbstractEList<E>
-
- org.eclipse.emf.common.util.BasicEList<E>
-
- org.eclipse.emf.common.util.UniqueEList<E>
-
- org.eclipse.emf.common.util.UniqueEList.FastCompare<T>
-
- com.nomagic.magicdraw.uml2.util.FastContainsList<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
,java.util.RandomAccess
,org.eclipse.emf.common.util.EList<T>
public class FastContainsList<T> extends org.eclipse.emf.common.util.UniqueEList.FastCompare<T>
Unique value list that supports fast contains method.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FastContainsList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, T object)
boolean
add(T object)
boolean
contains(java.lang.Object object)
T
remove(int index)
T
set(int index, T object)
protected T
validate(int index, T object)
-
Methods inherited from class org.eclipse.emf.common.util.BasicEList
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicList, clear, clone, data, get, grow, indexOf, isEmpty, lastIndexOf, move, newData, primitiveGet, setData, setUnique, shrink, size, toArray, toArray
-
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
addAll, addAll, basicIterator, basicListIterator, basicListIterator, canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, removeAll, resolve, retainAll, toString
-
-