public static enum Command.MasterType extends Enum<Command.MasterType>
Enum Constant and Description |
---|
ccf
The CCF (also called Pronto Hex) representation is the master.
|
empty
This is a dummy signal, without data.
|
parameters
The protocol/parameter version is the master.
|
raw
The raw representation is the master.
|
Modifier and Type | Method and Description |
---|---|
static Command.MasterType |
safeValueOf(String s) |
static Command.MasterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.MasterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.MasterType raw
public static final Command.MasterType ccf
public static final Command.MasterType parameters
public static final Command.MasterType empty
public static Command.MasterType[] values()
for (Command.MasterType c : Command.MasterType.values()) System.out.println(c);
public static Command.MasterType 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 Command.MasterType safeValueOf(String s)
Copyright © 2016. All rights reserved.