Creates a mutable , empty LinkedList instance (for Java 6 and earlier). Note: if you won't be adding any elements to the list, use ImmutableList#of() instead. Performance note: ArrayList and java.util.ArrayDeque consistently outperform {@co
()
| 231 | * of the new <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>. |
| 232 | */ |
| 233 | @GwtCompatible(serializable = true) |
| 234 | public static <E> LinkedList<E> newLinkedList() { |
| 235 | return new LinkedList<E>(); |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * Creates a <i>mutable</i> {@code LinkedList} instance containing the given |