org.robokind.impl.motion.dynamixel
Class DynamixelServo.Id
java.lang.Object
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. |
DynamixelServo.Id
public DynamixelServo.Id(int id)
- Creates a JointId from the given integer id.
- Parameters:
id
- the jointId
getIntValue
public final int getIntValue()
- Returns the integer value of the Id.
- Returns:
- the integer value of the Id
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-2013. All Rights Reserved.