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