@FunctionalInterface public interface LoopCondition
Loop
.Modifier and Type | Method and Description |
---|---|
boolean |
loopAgain(boolean workDone)
Returns true if the loop should continue, and false otherwise.
|
boolean loopAgain(boolean workDone)
workDone
- if any substantial work was performed in the last loop iteration