public static class UniqueEList.FastCompare<E> extends UniqueEList<E>
UniqueEList.FastCompare<E>BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E>data, size| Constructor and Description |
|---|
FastCompare()
Creates an empty instance with no initial capacity.
|
FastCompare(java.util.Collection<? extends E> collection)
Creates an instance that is a copy of the collection, with duplicates removed.
|
FastCompare(int initialCapacity)
Creates an empty instance with the given capacity.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
useEquals()
Returns
false because this list uses ==. |
isUniqueaddAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicList, clear, clone, contains, data, get, grow, indexOf, isEmpty, lastIndexOf, move, newData, primitiveGet, remove, setData, setUnique, shrink, size, toArray, toArrayadd, add, 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, set, toString, validatepublic FastCompare()
public FastCompare(int initialCapacity)
initialCapacity - the initial capacity of the list before it must grow.java.lang.IllegalArgumentException - if the initialCapacity is negative.public FastCompare(java.util.Collection<? extends E> collection)
collection - the initial contents of the list.protected boolean useEquals()
false because this list uses ==.useEquals in class AbstractEList<E>false.Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature