Enum Constant and Description |
---|
GND |
LOGIC_0 |
LOGIC_1 |
UNKNOWN |
V33 |
V50 |
Modifier and Type | Method and Description |
---|---|
PORTVALUE |
parseString(java.lang.String s) |
boolean |
toBool() |
java.lang.String |
toString() |
static PORTVALUE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PORTVALUE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PORTVALUE LOGIC_0
public static final PORTVALUE LOGIC_1
public static final PORTVALUE V33
public static final PORTVALUE V50
public static final PORTVALUE GND
public static final PORTVALUE UNKNOWN
public static PORTVALUE[] values()
for (PORTVALUE c : PORTVALUE.values()) System.out.println(c);
public static PORTVALUE 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<PORTVALUE>
public boolean toBool()
public PORTVALUE parseString(java.lang.String s)