MCPcopy Index your code
hub / github.com/benfry/processing4 / valueArray

Method valueArray

core/src/processing/data/FloatDict.java:342–345  ·  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 float[] 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

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

cropMethod · 0.95
sizeMethod · 0.95
arraycopyMethod · 0.80

Tested by

no test coverage detected