break is a Java keyword.
break
Jumps (breaks) out from a loop. Also used at switch statement.
switch
For example:
for(inti=0;i<maxLoopIter;i++){ System.out.println("Iter="+i); if(i==5){ break;// -- 5 iteration is enough -- } }
See also:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル