org.ros.android.android_acm_serial
Enum BitRate
java.lang.Object
java.lang.Enum<BitRate>
org.ros.android.android_acm_serial.BitRate
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BitRate>
public enum BitRate
- extends java.lang.Enum<BitRate>
Method Summary |
static BitRate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BitRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BPS_300
public static final BitRate BPS_300
BPS_1200
public static final BitRate BPS_1200
BPS_2400
public static final BitRate BPS_2400
BPS_4800
public static final BitRate BPS_4800
BPS_9600
public static final BitRate BPS_9600
BPS_14400
public static final BitRate BPS_14400
BPS_19200
public static final BitRate BPS_19200
BPS_28800
public static final BitRate BPS_28800
BPS_38400
public static final BitRate BPS_38400
BPS_57600
public static final BitRate BPS_57600
BPS_115200
public static final BitRate BPS_115200
values
public static BitRate[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (BitRate c : BitRate.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BitRate valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null