public static enum Instruction.InstructionType extends java.lang.Enum<Instruction.InstructionType>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Instruction.InstructionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Instruction.InstructionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instruction.InstructionType TURNLEFT
public static final Instruction.InstructionType TURNRIGHT
public static final Instruction.InstructionType DOWNSTAIRS
public static final Instruction.InstructionType UPSTAIRS
public static final Instruction.InstructionType DOWNELEVATOR
public static final Instruction.InstructionType UPELEVATOR
public static final Instruction.InstructionType DOWNESCALATOR
public static final Instruction.InstructionType UPESCALATOR
public static final Instruction.InstructionType ARRIVAL
public static final Instruction.InstructionType STRAIGHT
public static final Instruction.InstructionType TURNLEFTTHENLEFT
public static final Instruction.InstructionType TURNLEFTTHENRIGHT
public static final Instruction.InstructionType TURNRIGHTTHENLEFT
public static final Instruction.InstructionType TURNRIGHTTHENRIGHT
public static final Instruction.InstructionType TURNLEFTTHENDOWNSTAIRS
public static final Instruction.InstructionType TURNRIGHTTHENDOWNSTAIRS
public static final Instruction.InstructionType TURNLEFTTHENUPSTAIRS
public static final Instruction.InstructionType TURNRIGHTTHENUPSTAIRS
public static final Instruction.InstructionType TURNLEFTTHENDOWNELEVATOR
public static final Instruction.InstructionType TURNRIGHTTHENDOWNELEVATOR
public static final Instruction.InstructionType TURNLEFTTHENUPELEVATOR
public static final Instruction.InstructionType TURNRIGHTTHENUPELEVATOR
public static final Instruction.InstructionType TURNLEFTTHENDOWNESCALATOR
public static final Instruction.InstructionType TURNRIGHTTHENDOWNESCALATOR
public static final Instruction.InstructionType TURNLEFTTHENUPESCALATOR
public static final Instruction.InstructionType TURNRIGHTTHENUPESCALATOR
public static final Instruction.InstructionType STRAIGHTTHENDOWNSTAIRS
public static final Instruction.InstructionType STRAIGHTTHENUPSTAIRS
public static final Instruction.InstructionType STRAIGHTTHENDOWNELEVATOR
public static final Instruction.InstructionType STRAIGHTTHENUPELEVATOR
public static final Instruction.InstructionType STRAIGHTTHENDOWNESCALATOR
public static final Instruction.InstructionType STRAIGHTTHENUPESCALATOR
public static final Instruction.InstructionType CHANGEBUILDING
public static final Instruction.InstructionType ENTERBUILDING
public static final Instruction.InstructionType LEAVEBUILDING
public static final Instruction.InstructionType TURNLEFTTHENENTERBUILDING
public static final Instruction.InstructionType TURNRIGHTTHENENTERBUILDING
public static final Instruction.InstructionType TURNLEFTTHENLEAVEBUILDING
public static final Instruction.InstructionType TURNRIGHTTHENLEAVEBUILDING
public static Instruction.InstructionType[] values()
for (Instruction.InstructionType c : Instruction.InstructionType.values()) System.out.println(c);
public static Instruction.InstructionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Instruction.InstructionType>