forked from processing/processing-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIntList_remove.xml
More file actions
executable file
·54 lines (42 loc) · 884 Bytes
/
IntList_remove.xml
File metadata and controls
executable file
·54 lines (42 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>remove()</name>
<category>IntList</category>
<subcategory>Method</subcategory>
<type>method</type>
<example>
<image></image>
<code><![CDATA[
IntList inventory;
void setup() {
size(200, 200);
inventory = new IntList();
inventory.append(84);
inventory.append(15);
inventory.append(102);
println(inventory);
inventory.remove(1);
println(inventory);
}
]]></code>
</example>
<example>
<image></image>
<code><![CDATA[
IntList inventory;
void setup() {
size(200, 200);
inventory = new IntList();
inventory.append(84);
inventory.append(15);
inventory.append(102);
println(inventory);
int val = inventory.remove(1);
println("The value " + val + " was removed.");
}
]]></code>
</example>
<description><![CDATA[
Remove an element from the specified index.
]]></description>
</root>