MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / asArray

Method asArray

UnLuac/src/unluac/parse/BList.java:24–37  ·  view source on GitHub ↗
(final T[] array)

Source from the content-addressed store, hash-verified

22 }
23
24 public T[] asArray(final T[] array) {
25 length.iterate(new Runnable() {
26
27 private int i = 0;
28
29 @Override
30 public void run() {
31 array[i] = values.get(i);
32 i++;
33 }
34
35 });
36 return array;
37 }
38
39}

Callers 2

parseMethod · 0.80
parse_upvaluesMethod · 0.80

Calls 1

iterateMethod · 0.80

Tested by

no test coverage detected