Enum Class Grasp.Type

java.lang.Object
java.lang.Enum<Grasp.Type>
edu.tufts.hrilab.vision.stm.Grasp.Type
All Implemented Interfaces:
Serializable, Comparable<Grasp.Type>, Constable
Enclosing class:
Grasp

public static enum Grasp.Type extends Enum<Grasp.Type>
  • Enum Constant Details

    • PINCH_TOGETHER

      public static final Grasp.Type PINCH_TOGETHER
    • PINCH_APART

      public static final Grasp.Type PINCH_APART
    • PUSH

      public static final Grasp.Type PUSH
    • TWO_ARM

      public static final Grasp.Type TWO_ARM
    • UNKNOWN

      public static final Grasp.Type UNKNOWN
  • Method Details

    • values

      public static Grasp.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Grasp.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null