Package com.helger.commons.state
Interface IInterruptIndicator
- All Known Implementing Classes:
EInterrupt
public interface IInterruptIndicator
Very simple interface for an object that has interrupted indication.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault EInterruptand(IInterruptIndicator aInterrupt) booleandefault booleandefault EInterruptor(IInterruptIndicator aInterrupt)
-
Method Details
-
isInterrupted
boolean isInterrupted()- Returns:
trueif interrupted andfalseif not.
-
isNotInterrupted
default boolean isNotInterrupted()- Returns:
trueif not interrupted andfalseif so.
-
or
-
and
-