MCPcopy Create free account
hub / github.com/benfry/processing4 / valueArray

Method valueArray

core/src/processing/data/IntDict.java:339–342  ·  view source on GitHub ↗

The version of this method without a parameter creates a new array and copies each of the values into it. The version with the int[] parameters fills an already-allocated array with the values (more efficient than creating a new array each time). If 'array' is null, or not the same size as th

()

Source from the content-addressed store, hash-verified

337 * @webBrief Create a new array and copy each of the values into it
338 */
339 public int[] valueArray() {
340 crop();
341 return valueArray(null);
342 }
343
344
345 /**

Callers

nothing calls this directly

Calls 3

cropMethod · 0.95
sizeMethod · 0.95
arraycopyMethod · 0.80

Tested by

no test coverage detected