public static enum RobotUsbDevice.Channel extends java.lang.Enum<RobotUsbDevice.Channel>
Modifier and Type | Method and Description |
---|---|
static RobotUsbDevice.Channel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RobotUsbDevice.Channel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RobotUsbDevice.Channel RX
public static final RobotUsbDevice.Channel TX
public static final RobotUsbDevice.Channel NONE
public static final RobotUsbDevice.Channel BOTH
public static RobotUsbDevice.Channel[] values()
for (RobotUsbDevice.Channel c : RobotUsbDevice.Channel.values()) System.out.println(c);
public static RobotUsbDevice.Channel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null