org.ros.android.android_acm_serial
Enum DataBits

java.lang.Object
  extended by java.lang.Enum<DataBits>
      extended by org.ros.android.android_acm_serial.DataBits
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataBits>

public enum DataBits
extends java.lang.Enum<DataBits>


Enum Constant Summary
DATA_BITS_16
           
DATA_BITS_5
           
DATA_BITS_6
           
DATA_BITS_7
           
DATA_BITS_8
           
 
Method Summary
static DataBits valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataBits[] 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
 

Enum Constant Detail

DATA_BITS_5

public static final DataBits DATA_BITS_5

DATA_BITS_6

public static final DataBits DATA_BITS_6

DATA_BITS_7

public static final DataBits DATA_BITS_7

DATA_BITS_8

public static final DataBits DATA_BITS_8

DATA_BITS_16

public static final DataBits DATA_BITS_16
Method Detail

values

public static DataBits[] 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 (DataBits c : DataBits.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DataBits 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