Java の文字列分割
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
Still loading...
ABCDEF
1
バージョンJava 7Java 6
2
呼び出しメソッドString#split()Pattern#split()String#split()Pattern#split()
3
4
正規表現実行時間単位:ミリ秒
5
" "5,16011,30513,0568,503
6
"\s"14,83912,26014,19311,645
7
"[ \t\n\x0B\f\r]"18,29611,93617,0618,820
8
" |\t|\n|\x0B|\f|\r"38,68626,59638,19927,163
9
10
正規表現
Scavenge GC の実施回数
単位:回
11
" "113391789532
12
"\s"581489825636
13
"[ \t\n\x0B\f\r]"7013821,056542
14
" |\t|\n|\x0B|\f|\r"1,6171,1532,4991,043
15
16
17
18
19
20
Loading...
 
 
 
文字列分割処理の比較