Here you can find the source of newLinkedList(Collection
public static <T> LinkedList<T> newLinkedList(Collection<T> c)
//package com.java2s; import java.util.*; public class Main { public static <T> LinkedList<T> newLinkedList() { return new LinkedList<T>(); }/*w w w.java 2 s.com*/ public static <T> LinkedList<T> newLinkedList(Collection<T> c) { return new LinkedList<T>(c); } }