public static enum DigitalSample.Strength extends java.lang.Enum<DigitalSample.Strength>
Enum Constant and Description |
---|
HIGH_IMPEDANCE |
LARGE_CAPACITANCE |
MEDIUM_CAPACITANCE |
PULL_DRIVE |
SMALL_CAPACITANCE |
STRONG_PULL |
SUPPLY_DRIVE |
WEAK_DRIVE |
Modifier and Type | Method and Description |
---|---|
static DigitalSample.Strength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DigitalSample.Strength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigitalSample.Strength SUPPLY_DRIVE
public static final DigitalSample.Strength STRONG_PULL
public static final DigitalSample.Strength PULL_DRIVE
public static final DigitalSample.Strength LARGE_CAPACITANCE
public static final DigitalSample.Strength WEAK_DRIVE
public static final DigitalSample.Strength MEDIUM_CAPACITANCE
public static final DigitalSample.Strength SMALL_CAPACITANCE
public static final DigitalSample.Strength HIGH_IMPEDANCE
public static DigitalSample.Strength[] values()
for (DigitalSample.Strength c : DigitalSample.Strength.values()) System.out.println(c);
public static DigitalSample.Strength 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