MCPcopy Index your code
hub / github.com/jankotek/mapdb / toList

Method toList

src/main/java/org/mapdb/BTreeMapJava.java:386–393  ·  view source on GitHub ↗
(Collection<E> c)

Source from the content-addressed store, hash-verified

384
385
386 static <E> List<E> toList(Collection<E> c) {
387 // Using size() here would be a pessimization.
388 List<E> list = new ArrayList<E>();
389 for (E e : c){
390 list.add(e);
391 }
392 return list;
393 }
394
395 public static final class KeySet<E>
396 extends AbstractSet<E>

Callers 2

toArrayMethod · 0.45
toArrayMethod · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected