public enum RelayState extends Enum<RelayState>
| Modifier and Type | Method and Description |
|---|---|
static RelayState |
getInverseState(RelayState state) |
static RelayState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelayState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelayState OPEN
public static final RelayState CLOSED
public static RelayState[] values()
for (RelayState c : RelayState.values()) System.out.println(c);
public static RelayState 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 nullpublic static RelayState getInverseState(RelayState state)
Copyright © 2012-2013 Pi4J. All Rights Reserved.