PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Pastebin launched a little side project called
HostCabi.net
, check it out ;-)
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
2 sec ago
Untitled
5 sec ago
Untitled
7 sec ago
live cc kill
18 sec ago
Untitled
11 sec ago
Untitled
16 sec ago
Untitled
20 sec ago
Untitled
25 sec ago
tokenizerTestGeneric
By:
ace
on
Feb 6th, 2010
| syntax:
None
| size: 0.30 KB | hits: 16 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
This paste has a previous version,
view the difference
.
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
public class TokenizerTest
{
private StringTokenizer tokenizerTest;
public TokenizerTest(String s)
{
tokenizerTest = new StringTokenizer(s);
while (tokenizerTest.hasMoreTokens())
{
System.out.println(tokenizerTest.nextToken());
}
}
}
create a
new version
of this paste
RAW Paste Data
public class TokenizerTest { private StringTokenizer tokenizerTest; public TokenizerTest(String s) { tokenizerTest = new StringTokenizer(s); while (tokenizerTest.hasMoreTokens()) { System.out.println(tokenizerTest.nextToken()); } } }