MCPcopy Create free account
hub / github.com/antlr/codebuff / newLinkedList

Method newLinkedList

output/java_guava/1.4.17/Lists.java:239–242  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

addAllMethod · 0.95

Tested by

no test coverage detected