public static class EcoreEList.UnmodifiableEList.FastCompare<E> extends EcoreEList.UnmodifiableEList<E>
EcoreEList.UnmodifiableEList.FastCompare<E>
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E>
InternalEList.Unsettable<E>
eStructuralFeature, owner
data, size
Constructor and Description |
---|
EcoreEList.UnmodifiableEList.FastCompare(InternalEObject owner,
EStructuralFeature eStructuralFeature,
int size,
java.lang.Object[] data) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
useEquals()
Returns whether
equals rather than == should be used to compare members. |
basicAdd, basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, get, getEObject, getEStructuralFeature, isSet, set, unset
add, add, addAll, addAll, clear, grow, iterator, listIterator, listIterator, move, move, remove, remove, removeAll, retainAll, set, shrink
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, clone, contains, data, get, indexOf, isEmpty, lastIndexOf, newData, primitiveGet, setData, setUnique, size, toArray, toArray
canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, resolve, toString, validate
finalize, getClass, notify, notifyAll, wait, wait, wait
addAllUnique, addAllUnique, addUnique, addUnique, basicGet, setUnique
public EcoreEList.UnmodifiableEList.FastCompare(InternalEObject owner, EStructuralFeature eStructuralFeature, int size, java.lang.Object[] data)
protected boolean useEquals()
AbstractEList
equals
rather than ==
should be used to compare members.
The default is to return true
but clients can optimize performance by returning false
.
The performance difference is highly significant.useEquals
in class AbstractEList<E>
equals
rather than ==
should be used.