MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / array

Method array

onjava/Rand.java:229–234  ·  view source on GitHub ↗
(int sz)

Source from the content-addressed store, hash-verified

227 return get();
228 }
229 public java.lang.String[] array(int sz) {
230 java.lang.String[] result =
231 new java.lang.String[sz];
232 Arrays.setAll(result, n -> get());
233 return result;
234 }
235 }
236}

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
setAllMethod · 0.45

Tested by

no test coverage detected