FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-code-example/DiscoverInputParameters/src/Main.java at master · cherkavi/java-code-example · GitHub
cherkavi
/
java-code-example
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
0
Code
Issues
0
Pull requests
42
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-code-example
/
DiscoverInputParameters
/
src
/
Main.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
16 lines (14 loc) · 488 Bytes
Breadcrumbs
java-code-example
/
DiscoverInputParameters
/
src
/
Main.java
Copy path
File metadata and controls
executable file
·
16 lines (14 loc) · 488 Bytes
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
import
java
.
util
.
StringTokenizer
;
public
class
Main
{
public
static
void
main
(
String
[]
args
){
// args=new String[]{"this is temp","and temp again", "and","not","run"};
System
.
out
.
println
(
"begin:"
);
int
counter
=
0
;
for
(
String
current_value
:
args
){
counter
++;
StringTokenizer
stringTokenizer
=
new
StringTokenizer
(
current_value
);
System
.
out
.
println
(
counter
+
" : "
+
current_value
+
" count:"
+
stringTokenizer
.
countTokens
());
}
System
.
out
.
println
(
"end:"
);
}
}
Back
|
FazBrowse Home
|
New Git URL