MCPcopy Index your code
hub / github.com/antlr/codebuff / newArrayList

Method newArrayList

output/java_guava/1.4.18/Lists.java:87–90  ·  view source on GitHub ↗

Creates a mutable , empty ArrayList instance (for Java 6 and earlier). Note: if mutability is not required, use ImmutableList#of() instead. Note for Java 7 and later: this method is now unnecessary and should be treated as deprecated. Instead, use the {@co

()

Source from the content-addressed store, hash-verified

85 */
86
87 @GwtCompatible(serializable = true)
88 public static <E> ArrayList<E> newArrayList() {
89 return new ArrayList<E>();
90 }
91
92 /**
93 * Creates a <i>mutable</i> {@code ArrayList} instance containing the given

Callers 15

copyOfMethod · 0.95
copyOfSortedMethod · 0.95
checkElementsMethod · 0.95
toArrayMethod · 0.95
toArrayMethod · 0.95
removeMethod · 0.95
removeEntryIfMethod · 0.95
cycleMethod · 0.95
toArrayMethod · 0.95
cycleMethod · 0.95
leastOfMethod · 0.95

Calls 6

castMethod · 0.95
addAllMethod · 0.95
addAllMethod · 0.65
iteratorMethod · 0.65
checkNotNullMethod · 0.45

Tested by

no test coverage detected