public enum EFinish extends Enum<EFinish> implements IFinishIndicator
| Enum Constant and Description |
|---|
FINISHED |
UNFINISHED |
| Modifier and Type | Method and Description |
|---|---|
EFinish |
and(IFinishIndicator aFinish) |
boolean |
isFinished() |
boolean |
isUnfinished() |
EFinish |
or(IFinishIndicator aFinish) |
static EFinish |
valueOf(boolean bFinished) |
static EFinish |
valueOf(IFinishIndicator aFinishIndicator) |
static EFinish |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EFinish[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EFinish FINISHED
public static final EFinish UNFINISHED
public static EFinish[] values()
for (EFinish c : EFinish.values()) System.out.println(c);
public static EFinish 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 isFinished()
isFinished in interface IFinishIndicatortrue if finished and false if unfinished.public boolean isUnfinished()
isUnfinished in interface IFinishIndicatortrue if unfinished and false if finished.@Nonnull public EFinish or(@Nonnull IFinishIndicator aFinish)
@Nonnull public EFinish and(@Nonnull IFinishIndicator aFinish)
@Nonnull public static EFinish valueOf(@Nonnull IFinishIndicator aFinishIndicator)
Copyright © 2006–2015 phloc systems. All rights reserved.