public static enum IO.IOType extends Enum<IO.IOType>
Enum Constant and Description |
---|
ANALOG |
BOOLEAN |
DIGITAL |
FLOAT |
INTEGER |
Modifier and Type | Method and Description |
---|---|
static IO.IOType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IO.IOType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IO.IOType DIGITAL
public static final IO.IOType ANALOG
public static final IO.IOType INTEGER
public static final IO.IOType BOOLEAN
public static final IO.IOType FLOAT
public static IO.IOType[] values()
for (IO.IOType c : IO.IOType.values()) System.out.println(c);
public static IO.IOType 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 © 2020. All rights reserved.