public enum EEnabled extends Enum<EEnabled> implements IEnabledIndicator
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled() |
static EEnabled |
valueOf(boolean bEnabled) |
static EEnabled |
valueOf(IEnabledIndicator aEnabledIndicator) |
static EEnabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EEnabled[] |
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, isDisabled, orpublic static final EEnabled ENABLED
public static final EEnabled DISABLED
public static EEnabled[] values()
for (EEnabled c : EEnabled.values()) System.out.println(c);
public static EEnabled 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 isEnabled()
isEnabled in interface IEnabledIndicatortrue if the object is currently enabled,
false otherwise.@Nonnull public static EEnabled valueOf(@Nonnull IEnabledIndicator aEnabledIndicator)
Copyright © 2014–2019 Philip Helger. All rights reserved.