public enum EInterrupt extends Enum<EInterrupt> implements IInterruptIndicator
| Enum Constant and Description |
|---|
INTERRUPTED |
NOT_INTERRUPTED |
| Modifier and Type | Method and Description |
|---|---|
EInterrupt |
and(IInterruptIndicator aInterrupt) |
boolean |
isInterrupted() |
boolean |
isNotInterrupted() |
EInterrupt |
or(IInterruptIndicator aInterrupt) |
static EInterrupt |
valueOf(boolean bInterrupted) |
static EInterrupt |
valueOf(IInterruptIndicator aInterruptIndicator) |
static EInterrupt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EInterrupt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EInterrupt INTERRUPTED
public static final EInterrupt NOT_INTERRUPTED
public static EInterrupt[] values()
for (EInterrupt c : EInterrupt.values()) System.out.println(c);
public static EInterrupt valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic boolean isInterrupted()
isInterrupted in interface IInterruptIndicatortrue if interrupted and false if not.public boolean isNotInterrupted()
isNotInterrupted in interface IInterruptIndicatortrue if not interrupted and false if so.@Nonnull public EInterrupt or(@Nonnull IInterruptIndicator aInterrupt)
@Nonnull public EInterrupt and(@Nonnull IInterruptIndicator aInterrupt)
@Nonnull public static EInterrupt valueOf(boolean bInterrupted)
@Nonnull public static EInterrupt valueOf(@Nonnull IInterruptIndicator aInterruptIndicator)
Copyright © 2006–2014 phloc systems. All rights reserved.