Lines Matching defs:collection
252 * elements contained in the specified {@code collection}. The order of the
254 * iteration order of {@code collection}.
256 * @param collection
257 * the collection of elements to add.
259 public LinkedList(Collection<? extends E> collection) {
261 addAll(collection);
324 * Inserts the objects in the specified collection at the specified location
326 * returned from the collection's iterator.
330 * @param collection
331 * the collection of objects
342 public boolean addAll(int location, Collection<? extends E> collection) {
346 int adding = collection.size();
350 Collection<? extends E> elements = (collection == this) ?
351 new ArrayList<E>(collection) : collection;
379 * @param collection
380 * the collection of objects.
385 public boolean addAll(Collection<? extends E> collection) {
386 int adding = collection.size();
390 Collection<? extends E> elements = (collection == this) ?
391 new ArrayList<E>(collection) : collection;
938 * {@code LinkedList}, the array element following the collection elements