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