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:
Serializable
,Cloneable
,Iterable<T>
,Collection<T>
,List<T>
,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:
-
Field Summary
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.emf.common.util.UniqueEList.FastCompare
useEquals
Methods inherited from class org.eclipse.emf.common.util.UniqueEList
isUnique
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
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 java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
containsAll, replaceAll, sort, spliterator, subList
-
Constructor Details
-
FastContainsList
public FastContainsList()
-
-
Method Details
-
add
-
add
-
set
-
remove
-
contains
-
validate
- Overrides:
validate
in classorg.eclipse.emf.common.util.AbstractEList<T>
-