public static enum AbstractReferenceDriver.CommunicationsType extends java.lang.Enum<AbstractReferenceDriver.CommunicationsType>
Modifier and Type | Method and Description |
---|---|
static AbstractReferenceDriver.CommunicationsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractReferenceDriver.CommunicationsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractReferenceDriver.CommunicationsType serial
public static final AbstractReferenceDriver.CommunicationsType tcp
public static AbstractReferenceDriver.CommunicationsType[] values()
for (AbstractReferenceDriver.CommunicationsType c : AbstractReferenceDriver.CommunicationsType.values()) System.out.println(c);
public static AbstractReferenceDriver.CommunicationsType 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 null