MCPcopy Index your code
hub / github.com/processing/processing / concat

Method concat

core/src/processing/core/PApplet.java:8918–8923  ·  view source on GitHub ↗

( begin auto-generated from concat.xml ) Concatenates two arrays. For example, concatenating the array { 1, 2, 3 } and the array { 4, 5, 6 } yields { 1, 2, 3, 4, 5, 6 }. Both parameters must be arrays of the same datatype. When using an array of objects, the data returned from the funct

(boolean a[], boolean b[])

Source from the content-addressed store, hash-verified

8916 * @see PApplet#arrayCopy(Object, int, Object, int, int)
8917 */
8918 static public boolean[] concat(boolean a[], boolean b[]) {
8919 boolean c[] = new boolean[a.length + b.length];
8920 System.arraycopy(a, 0, c, 0, a.length);
8921 System.arraycopy(b, 0, c, a.length, b.length);
8922 return c;
8923 }
8924
8925 static public byte[] concat(byte a[], byte b[]) {
8926 byte c[] = new byte[a.length + b.length];

Callers 7

launchMethod · 0.95
mainMethod · 0.95
getChildrenRecursiveMethod · 0.95
appendChildMethod · 0.95
compileMethod · 0.95
parseKeyStrokeMethod · 0.80

Calls 1

arraycopyMethod · 0.80

Tested by

no test coverage detected