public static enum IToaster.Direction extends Enum<IToaster.Direction>
Modifier and Type | Method and Description |
---|---|
static IToaster.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IToaster.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IToaster.Direction LEFT
public static final IToaster.Direction RIGHT
public static final IToaster.Direction UP
public static final IToaster.Direction DOWN
public final String direction
public static IToaster.Direction[] values()
for (IToaster.Direction c : IToaster.Direction.values()) System.out.println(c);
public static IToaster.Direction 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 nulliizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.