uk.ac.ed.inf.sdp2012.group7.control
Enum ConstantsReuse.OpCodes

java.lang.Object
  extended by java.lang.Enum<ConstantsReuse.OpCodes>
      extended by uk.ac.ed.inf.sdp2012.group7.control.ConstantsReuse.OpCodes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConstantsReuse.OpCodes>
Enclosing interface:
ConstantsReuse

public static enum ConstantsReuse.OpCodes
extends java.lang.Enum<ConstantsReuse.OpCodes>


Enum Constant Summary
ARC_LEFT
           
ARC_RIGHT
           
BACKWARDS
           
BACKWARDS_WITH_DISTANCE
           
BEEP
           
BUMP_OFF
           
BUMP_ON
           
CHANGE_SPEED
           
CONTINUE
           
DO_NOTHING
           
FORWARDS
           
FORWARDS_WITH_DISTANCE
           
QUIT
           
ROTATE_BLOCK_LEFT
           
ROTATE_BLOCK_RIGHT
           
ROTATE_LEFT
           
ROTATE_RIGHT
           
START_MATCH
           
STOP
           
STOP_MATCH
           
 
Method Summary
static ConstantsReuse.OpCodes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConstantsReuse.OpCodes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DO_NOTHING

public static final ConstantsReuse.OpCodes DO_NOTHING

FORWARDS

public static final ConstantsReuse.OpCodes FORWARDS

BACKWARDS

public static final ConstantsReuse.OpCodes BACKWARDS

BACKWARDS_WITH_DISTANCE

public static final ConstantsReuse.OpCodes BACKWARDS_WITH_DISTANCE

STOP

public static final ConstantsReuse.OpCodes STOP

CHANGE_SPEED

public static final ConstantsReuse.OpCodes CHANGE_SPEED

ROTATE_LEFT

public static final ConstantsReuse.OpCodes ROTATE_LEFT

ROTATE_RIGHT

public static final ConstantsReuse.OpCodes ROTATE_RIGHT

ROTATE_BLOCK_LEFT

public static final ConstantsReuse.OpCodes ROTATE_BLOCK_LEFT

ROTATE_BLOCK_RIGHT

public static final ConstantsReuse.OpCodes ROTATE_BLOCK_RIGHT

ARC_LEFT

public static final ConstantsReuse.OpCodes ARC_LEFT

ARC_RIGHT

public static final ConstantsReuse.OpCodes ARC_RIGHT

BEEP

public static final ConstantsReuse.OpCodes BEEP

FORWARDS_WITH_DISTANCE

public static final ConstantsReuse.OpCodes FORWARDS_WITH_DISTANCE

START_MATCH

public static final ConstantsReuse.OpCodes START_MATCH

STOP_MATCH

public static final ConstantsReuse.OpCodes STOP_MATCH

BUMP_ON

public static final ConstantsReuse.OpCodes BUMP_ON

BUMP_OFF

public static final ConstantsReuse.OpCodes BUMP_OFF

CONTINUE

public static final ConstantsReuse.OpCodes CONTINUE

QUIT

public static final ConstantsReuse.OpCodes QUIT
Method Detail

values

public static ConstantsReuse.OpCodes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ConstantsReuse.OpCodes c : ConstantsReuse.OpCodes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConstantsReuse.OpCodes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null