FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
processing-docs/content/api_en/include/case.xml at master · processing/processing-docs · GitHub
processing
processing-docs
Repository navigation
Code
Issues
3
(3)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
processing-docs
/
content
/
api_en
/
include
/
case.xml
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
69 lines (48 loc) · 1.07 KB
Breadcrumbs
processing-docs
/
content
/
api_en
/
include
/
case.xml
Copy path
File metadata and controls
executable file
·
69 lines (48 loc) · 1.07 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?
xml
version
=
"
1.0
"
encoding
=
"
UTF-8
"
standalone
=
"
yes
"
?>
<
root
>
<
name
>case</
name
>
<
category
>Control</
category
>
<
subcategory
>Conditionals</
subcategory
>
<
usage
>Web
&
Application</
usage
>
<
example
>
<
image
></
image
>
<
code
>
<![CDATA[
char letter = 'B';
switch(letter) {
case 'A':
println("Alpha"); // Does not execute
break;
case 'B':
println("Bravo"); // Prints "Bravo"
break;
default:
println("Zulu"); // Does not execute
break;
}
]]>
</
code
>
</
example
>
<
description
>
<![CDATA[
Denotes the different labels to be evaluated with the parameter in the <b>switch</b> structure.
]]>
</
description
>
<
syntax
>
case <
c
>label</
c
>: <
c
>statements</
c
>
</
syntax
>
<
parameter
>
<
label
>label</
label
>
<
description
>
<![CDATA[
byte, char, or int
]]>
</
description
>
</
parameter
>
<
parameter
>
<
label
>statements</
label
>
<
description
>
<![CDATA[
one or more valid statements
]]>
</
description
>
</
parameter
>
<
returns
></
returns
>
<
related
>
switch
default
break
</
related
>
<
availability
>1.0</
availability
>
<
type
>Keyword</
type
>
<
partof
>Java</
partof
>
<
level
>extended</
level
>
</
root
>
Back
|
FazBrowse Home
|
New Git URL