Interface IInterruptIndicator

All Known Implementing Classes:
EInterrupt

public interface IInterruptIndicator
Very simple interface for an object that has interrupted indication.
Author:
Philip Helger
  • Method Details

    • isInterrupted

      boolean isInterrupted()
      Returns:
      true if interrupted and false if not.
    • isNotInterrupted

      default boolean isNotInterrupted()
      Returns:
      true if not interrupted and false if so.
    • or

      @Nonnull default EInterrupt or(@Nonnull IInterruptIndicator aInterrupt)
    • and

      @Nonnull default EInterrupt and(@Nonnull IInterruptIndicator aInterrupt)