public static enum SerialTypes.BackingType.Values extends Enum<SerialTypes.BackingType.Values>
enum representing this enumeration class.
Ordinals have no semantic meaning (your code should not rely on them).
| Enum Constant and Description |
|---|
_UNKNOWN
Special
enum constant which is used to represent constants
that do not exist in this enumeration binding. |
FILE
Represents
SerialTypes.BackingType.FILE. |
HOST_DEVICE
Represents
SerialTypes.BackingType.HOST_DEVICE. |
NETWORK_CLIENT
Represents
SerialTypes.BackingType.NETWORK_CLIENT. |
NETWORK_SERVER
Represents
SerialTypes.BackingType.NETWORK_SERVER. |
PIPE_CLIENT
Represents
SerialTypes.BackingType.PIPE_CLIENT. |
PIPE_SERVER
Represents
SerialTypes.BackingType.PIPE_SERVER. |
| Modifier and Type | Method and Description |
|---|---|
static SerialTypes.BackingType.Values |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialTypes.BackingType.Values[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialTypes.BackingType.Values FILE
SerialTypes.BackingType.FILE.public static final SerialTypes.BackingType.Values HOST_DEVICE
SerialTypes.BackingType.HOST_DEVICE.public static final SerialTypes.BackingType.Values PIPE_SERVER
SerialTypes.BackingType.PIPE_SERVER.public static final SerialTypes.BackingType.Values PIPE_CLIENT
SerialTypes.BackingType.PIPE_CLIENT.public static final SerialTypes.BackingType.Values NETWORK_SERVER
SerialTypes.BackingType.NETWORK_SERVER.public static final SerialTypes.BackingType.Values NETWORK_CLIENT
SerialTypes.BackingType.NETWORK_CLIENT.public static final SerialTypes.BackingType.Values _UNKNOWN
enum constant which is used to represent constants
that do not exist in this enumeration binding. For example if a
client receives an enumeration constant that only exists in the
newer version of the API of the server, the client source code will
see it represented by _UNKNOWN constant, because its version
of the native Java enum lacks the new constant.public static SerialTypes.BackingType.Values[] values()
for (SerialTypes.BackingType.Values c : SerialTypes.BackingType.Values.values()) System.out.println(c);
public static SerialTypes.BackingType.Values 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. All Rights Reserved.