public enum InputType extends Enum<InputType>
Enum Constant and Description |
---|
ACTIVE
Active inputs supply power to the connected sensor in order for it to work.
|
PASSIVE
Passive inputs read the resistence of the sensor connected to them.
|
Modifier and Type | Method and Description |
---|---|
static InputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputType PASSIVE
public static final InputType ACTIVE
public static InputType[] values()
for (InputType c : InputType.values()) System.out.println(c);
public static InputType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2023. All rights reserved.