java.lang.Object
java.lang.Enum<Claw.State>
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.Claw.State
All Implemented Interfaces:
Serializable, Comparable<Claw.State>, Constable
Enclosing interface:
Claw

public static enum Claw.State extends Enum<Claw.State>
Represents the state of the claw.
  • Enum Constant Details

    • OPEN

      public static final Claw.State OPEN
      Claw is open
    • CLOSED

      public static final Claw.State CLOSED
      Claw is closed
    • NONE

      public static final Claw.State NONE
      Either no state has been set yet, or the claw should rest.
  • Method Details

    • values

      public static Claw.State[] 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 Claw.State 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