public interface Step
Runnable
but returns true if substantial work has been performed. Steps can for instance
be used as building blocks in a Loop
.Modifier and Type | Field and Description |
---|---|
static Step |
NO_OP
Step performing a no-OP; the implementation returns false indicating that no work was performed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
perform()
Executes this step and returns true if substantial work was performed.
|