mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
little bits
This commit is contained in:
@@ -2201,29 +2201,34 @@ public class PApplet extends Applet
|
||||
|
||||
//
|
||||
|
||||
static public void append(byte b[], byte value) {
|
||||
static public byte[] append(byte b[], byte value) {
|
||||
b = expand(b, b.length + 1);
|
||||
b[b.length-1] = value;
|
||||
return b;
|
||||
}
|
||||
|
||||
static public void append(char b[], char value) {
|
||||
static public char[] append(char b[], char value) {
|
||||
b = expand(b, b.length + 1);
|
||||
b[b.length-1] = value;
|
||||
return b;
|
||||
}
|
||||
|
||||
static public void append(int b[], int value) {
|
||||
static public int[] append(int b[], int value) {
|
||||
b = expand(b, b.length + 1);
|
||||
b[b.length-1] = value;
|
||||
return b;
|
||||
}
|
||||
|
||||
static public void append(float b[], float value) {
|
||||
static public float[] append(float b[], float value) {
|
||||
b = expand(b, b.length + 1);
|
||||
b[b.length-1] = value;
|
||||
return b;
|
||||
}
|
||||
|
||||
static public void append(String b[], String value) {
|
||||
static public String[] append(String b[], String value) {
|
||||
b = expand(b, b.length + 1);
|
||||
b[b.length-1] = value;
|
||||
return b;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user