ohmm
Enum OHMM.AnalogChannel
java.lang.Object
java.lang.Enum<OHMM.AnalogChannel>
ohmm.OHMM.AnalogChannel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OHMM.AnalogChannel>
- Enclosing class:
- OHMM
public static enum OHMM.AnalogChannel
- extends java.lang.Enum<OHMM.AnalogChannel>
Analog sensor channels.
Method Summary |
static OHMM.AnalogChannel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OHMM.AnalogChannel[] |
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 |
CH_0
public static final OHMM.AnalogChannel CH_0
CH_1
public static final OHMM.AnalogChannel CH_1
CH_2
public static final OHMM.AnalogChannel CH_2
CH_3
public static final OHMM.AnalogChannel CH_3
CH_4
public static final OHMM.AnalogChannel CH_4
CH_5
public static final OHMM.AnalogChannel CH_5
CH_6
public static final OHMM.AnalogChannel CH_6
CH_7
public static final OHMM.AnalogChannel CH_7
CH_8
public static final OHMM.AnalogChannel CH_8
CH_9
public static final OHMM.AnalogChannel CH_9
CH_1V1
public static final OHMM.AnalogChannel CH_1V1
CH_0V0
public static final OHMM.AnalogChannel CH_0V0
ch
public final int ch
values
public static OHMM.AnalogChannel[] 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 (OHMM.AnalogChannel c : OHMM.AnalogChannel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OHMM.AnalogChannel 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