|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
org.eclipse.emf.common.util.BasicEList<E>
org.eclipse.emf.common.util.BasicEList.FastCompare<E>
public static class BasicEList.FastCompare<E>
A BasicEList that uses == instead of equals to compare members.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList |
|---|
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E> |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.common.util.BasicEList |
|---|
data, size |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
BasicEList.FastCompare()
Creates an empty instance with no initial capacity. |
|
BasicEList.FastCompare(java.util.Collection<? extends E> collection)
Creates an instance that is a copy of the collection. |
|
BasicEList.FastCompare(int initialCapacity)
Creates an empty instance with the given capacity. |
|
| Method Summary | |
|---|---|
protected boolean |
useEquals()
Returns false because this list uses ==. |
| Methods inherited from class org.eclipse.emf.common.util.BasicEList |
|---|
add, add, addAll, addAll, addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicIterator, basicList, basicListIterator, basicListIterator, canContainNull, clear, clone, contains, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, indexOf, isEmpty, isUnique, iterator, lastIndexOf, listIterator, listIterator, move, move, newData, remove, remove, removeAll, resolve, retainAll, set, setData, setUnique, shrink, 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 java.util.List |
|---|
subList |
| Constructor Detail |
|---|
public BasicEList.FastCompare()
public BasicEList.FastCompare(int initialCapacity)
initialCapacity - the initial capacity of the list before it must grow.
java.lang.IllegalArgumentException - if the initialCapacity is negative.public BasicEList.FastCompare(java.util.Collection<? extends E> collection)
collection - the initial contents of the list.| Method Detail |
|---|
protected boolean useEquals()
false because this list uses ==.
useEquals in class BasicEList<E>false.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||