us.ihmc.robotSide
Enum RobotSide

java.lang.Object
  extended by java.lang.Enum<RobotSide>
      extended by us.ihmc.robotSide.RobotSide
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RobotSide>

public enum RobotSide
extends java.lang.Enum<RobotSide>

Title:

Description:

Copyright: Copyright (c) 2007

Company:

Version:
1.0
Author:
not attributable

Enum Constant Summary
LEFT
           
RIGHT
           
 
Field Summary
static RobotSide[] values
           
 
Method Summary
 void checkRobotSideMatch(RobotSide other)
           
 java.lang.String getCamelCaseNameForMiddleOfExpression()
           
 java.lang.String getCamelCaseNameForStartOfExpression()
           
 java.lang.String getLowerCaseName()
           
 RobotSide getOppositeSide()
           
 java.lang.String getShortLowerCaseName()
           
static RobotSide getSideFromString(java.lang.String robotSideName)
           
 java.lang.String getSideNameFirstLetter()
           
 java.lang.String getSideNameInAllCaps()
           
 java.lang.String getSideStringInRobonetFormat()
           
 java.lang.String getSideStringInRobonetFormatWithoutSlash()
           
static void main(java.lang.String[] args)
           
 double negateIfLeftSide(double value)
           
 double negateIfRightSide(double value)
           
 java.lang.String toString()
           
static RobotSide valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RobotSide[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LEFT

public static final RobotSide LEFT

RIGHT

public static final RobotSide RIGHT
Field Detail

values

public static RobotSide[] values
Method Detail

values

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

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

valueOf

public static RobotSide 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

getOppositeSide

public RobotSide getOppositeSide()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<RobotSide>

getShortLowerCaseName

public java.lang.String getShortLowerCaseName()

getCamelCaseNameForStartOfExpression

public java.lang.String getCamelCaseNameForStartOfExpression()

getCamelCaseNameForMiddleOfExpression

public java.lang.String getCamelCaseNameForMiddleOfExpression()

getLowerCaseName

public java.lang.String getLowerCaseName()

getSideNameInAllCaps

public java.lang.String getSideNameInAllCaps()

getSideNameFirstLetter

public java.lang.String getSideNameFirstLetter()

getSideStringInRobonetFormat

public java.lang.String getSideStringInRobonetFormat()

getSideStringInRobonetFormatWithoutSlash

public java.lang.String getSideStringInRobonetFormatWithoutSlash()

negateIfLeftSide

public double negateIfLeftSide(double value)

negateIfRightSide

public double negateIfRightSide(double value)

checkRobotSideMatch

public void checkRobotSideMatch(RobotSide other)

getSideFromString

public static RobotSide getSideFromString(java.lang.String robotSideName)

main

public static void main(java.lang.String[] args)