Enum Class TrcI2cDevice.PortCommandState

java.lang.Object
java.lang.Enum<TrcI2cDevice.PortCommandState>
trclib.robotcore.TrcI2cDevice.PortCommandState
All Implemented Interfaces:
Serializable, Comparable<TrcI2cDevice.PortCommandState>, Constable
Enclosing class:
TrcI2cDevice

private static enum TrcI2cDevice.PortCommandState extends Enum<TrcI2cDevice.PortCommandState>
Specifies the Port Command state machine states.
  • Enum Constant Details

  • Constructor Details

    • PortCommandState

      private PortCommandState()
  • Method Details

    • values

      public static TrcI2cDevice.PortCommandState[] 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 TrcI2cDevice.PortCommandState 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