public enum EInterrupt extends Enum<EInterrupt> implements IInterruptIndicator
| Enum Constant and Description |
|---|
INTERRUPTED |
NOT_INTERRUPTED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInterrupted() |
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfand, isNotInterrupted, orpublic 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.@Nonnull public static EInterrupt valueOf(boolean bInterrupted)
@Nonnull public static EInterrupt valueOf(@Nonnull IInterruptIndicator aInterruptIndicator)
Copyright © 2014–2019 Philip Helger. All rights reserved.