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

Method toArrayList

output/java_guava/1.4.16/LocalCache.java:4561–4566  ·  view source on GitHub ↗
(Collection<E> c)

Source from the content-addressed store, hash-verified

4559 }
4560
4561 private static <E> ArrayList<E> toArrayList(Collection<E> c) {
4562 // Avoid calling ArrayList(Collection), which may call back into toArray.
4563 ArrayList<E> result = new ArrayList<E>(c.size());
4564 Iterators.addAll(result, c.iterator());
4565 return result;
4566 }
4567
4568 @WeakOuter
4569 final class KeySet extends AbstractCacheSet<K> {

Callers 2

toArrayMethod · 0.45
toArrayMethod · 0.45

Calls 3

addAllMethod · 0.95
sizeMethod · 0.65
iteratorMethod · 0.65

Tested by

no test coverage detected