org.eclipse.emf.ecore.util
Class EcoreEList.UnmodifiableEList.FastCompare

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byorg.eclipse.emf.common.util.BasicEList
              extended byorg.eclipse.emf.common.util.BasicEList.UnmodifiableEList
                  extended byorg.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList
                      extended byorg.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList.FastCompare
All Implemented Interfaces:
Cloneable, Collection, EList, EStructuralFeature.Setting, InternalEList, InternalEList.Unsettable, List, RandomAccess, Serializable
Enclosing class:
EcoreEList.UnmodifiableEList

public static class EcoreEList.UnmodifiableEList.FastCompare
extends EcoreEList.UnmodifiableEList

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList
EcoreEList.UnmodifiableEList.FastCompare
 
Nested classes inherited from class org.eclipse.emf.common.util.BasicEList
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator, BasicEList.EListIterator, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator, BasicEList.UnmodifiableEList
 
Nested classes inherited from class org.eclipse.emf.ecore.util.InternalEList
InternalEList.Unsettable
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList
eStructuralFeature, owner
 
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EcoreEList.UnmodifiableEList.FastCompare(InternalEObject owner, EStructuralFeature eStructuralFeature, int size, Object[] data)
           
 
Method Summary
protected  boolean useEquals()
          Returns whether equals rather than == should be used to compare members.
 
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList
basicAdd, basicIterator, basicList, basicListIterator, basicListIterator, basicRemove, get, getEObject, getEStructuralFeature, isSet, set, unset
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList.UnmodifiableEList
add, add, addAll, addAll, clear, grow, iterator, listIterator, listIterator, move, move, remove, remove, removeAll, retainAll, set, shrink
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, canContainNull, clone, contains, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, indexOf, isEmpty, isUnique, lastIndexOf, newData, resolve, setData, setUnique, size, toArray, toArray, toString, validate
 
Methods inherited from class java.util.AbstractList
removeRange, subList
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addUnique, addUnique, basicGet, setUnique
 
Methods inherited from interface org.eclipse.emf.common.util.EList
move, move
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

EcoreEList.UnmodifiableEList.FastCompare

public EcoreEList.UnmodifiableEList.FastCompare(InternalEObject owner,
                                                EStructuralFeature eStructuralFeature,
                                                int size,
                                                Object[] data)
Method Detail

useEquals

protected boolean useEquals()
Description copied from class: BasicEList
Returns whether 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.

Overrides:
useEquals in class BasicEList
Returns:
whether equals rather than == should be used.

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.