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

Method append

core/src/processing/core/PApplet.java:7730–7734  ·  view source on GitHub ↗

Expands an array by one element and adds data to the new position. The datatype of the element parameter must be the same as the datatype of the array. When using an array of objects, the data returned from the function must be cast to the object array's data type. For example: <e

(byte[] array, byte value)

Source from the content-addressed store, hash-verified

7728 * @see PApplet#expand(boolean[])
7729 */
7730 static public byte[] append(byte[] array, byte value) {
7731 array = expand(array, array.length + 1);
7732 array[array.length-1] = value;
7733 return array;
7734 }
7735
7736 static public char[] append(char[] array, char value) {
7737 array = expand(array, array.length + 1);

Callers 9

insertCodeMethod · 0.95
parsePathMethod · 0.45
handleSettingsMethod · 0.45
runMethod · 0.45
printMethod · 0.45
joinMethod · 0.45
endShapeMethod · 0.45
executeMethod · 0.45
processMethod · 0.45

Calls 2

expandMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected