break loop jika kondisi terpenuhi

while (true) {
    // ...
    if (breakCondition) {            
        break;
    } 
}
Dizzy Dolphin