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
()
| 237 | */ |
| 238 | |
| 239 | @GwtCompatible(serializable = true) |
| 240 | public static <E> LinkedList<E> newLinkedList() { |
| 241 | return new LinkedList<E>(); |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * Creates a <i>mutable</i> {@code LinkedList} instance containing the given |