/** * Creates an instance that is a copy of the collection, with duplicates removed. * @param collection the initial contents of the list. */ public FastCompare(Collection<? extends E> collection) { super(collection.size()); addAll(collection); }
/** * Creates an instance that is a copy of the collection, with duplicates removed. * @param collection the initial contents of the list. */ public FastCompare(Collection<? extends E> collection) { super(collection.size()); addAll(collection); }