robot.external
Enum IPioneer.StateType

java.lang.Object
  extended by java.lang.Enum<IPioneer.StateType>
      extended by robot.external.IPioneer.StateType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IPioneer.StateType>
Enclosing interface:
IPioneer

public static enum IPioneer.StateType
extends java.lang.Enum<IPioneer.StateType>


Enum Constant Summary
COLLISION_AVOIDANCE
           
LWALL_FOLLOWING
           
RWALL_FOLLOWING
           
SET_SPEED
           
STOPPED
           
STUCK_ESCAPING
           
WALL_SEARCHING
           
 
Method Summary
static IPioneer.StateType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IPioneer.StateType[] 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

LWALL_FOLLOWING

public static final IPioneer.StateType LWALL_FOLLOWING

RWALL_FOLLOWING

public static final IPioneer.StateType RWALL_FOLLOWING

COLLISION_AVOIDANCE

public static final IPioneer.StateType COLLISION_AVOIDANCE

WALL_SEARCHING

public static final IPioneer.StateType WALL_SEARCHING

SET_SPEED

public static final IPioneer.StateType SET_SPEED

STOPPED

public static final IPioneer.StateType STOPPED

STUCK_ESCAPING

public static final IPioneer.StateType STUCK_ESCAPING
Method Detail

values

public static IPioneer.StateType[] 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 (IPioneer.StateType c : IPioneer.StateType.values())
    System.out.println(c);

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

valueOf

public static IPioneer.StateType 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