org.robokind.impl.motion.dynamixel
Class DynamixelServo.Id

java.lang.Object
  extended by org.robokind.impl.motion.dynamixel.DynamixelServo.Id
All Implemented Interfaces:
org.robokind.api.common.utils.LocalIdentifier
Enclosing class:
DynamixelServo

public static final class DynamixelServo.Id
extends Object
implements org.robokind.api.common.utils.LocalIdentifier


Constructor Summary
DynamixelServo.Id(int id)
          Creates a JointId from the given integer id.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
static boolean isValidId(int id)
          Returns true is the id would make a valid Id.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamixelServo.Id

public DynamixelServo.Id(int id)
Creates a JointId from the given integer id.

Parameters:
id - the jointId
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

isValidId

public static boolean isValidId(int id)
Returns true is the id would make a valid Id.

Parameters:
id - value to check
Returns:
true is the id would make a valid Id.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.