MCPcopy Create free account
hub / github.com/diffplug/goomph / ofArrayList

Method ofArrayList

src/main/java/com/diffplug/gradle/Lazyable.java:73–75  ·  view source on GitHub ↗

Returns a Lazyable wrapper around an ArrayList.

()

Source from the content-addressed store, hash-verified

71
72 /** Returns a Lazyable wrapper around an ArrayList. */
73 public static <T> Lazyable<ArrayList<T>> ofArrayList() {
74 return new Lazyable<>(new ArrayList<>(), toCopy -> new ArrayList<>(toCopy));
75 }
76}

Callers 1

ofListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected