public enum CommunicationType extends Enum<CommunicationType>
Enum Constant and Description |
---|
MEMORY_MAPPED_FULL |
MEMORY_MAPPED_READ |
MEMORY_MAPPED_WRITE |
STREAM |
Modifier and Type | Method and Description |
---|---|
static CommunicationType |
stringToValue(String s) |
String |
toString() |
static CommunicationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommunicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommunicationType MEMORY_MAPPED_FULL
public static final CommunicationType MEMORY_MAPPED_READ
public static final CommunicationType MEMORY_MAPPED_WRITE
public static final CommunicationType STREAM
public static CommunicationType[] values()
for (CommunicationType c : CommunicationType.values()) System.out.println(c);
public static CommunicationType 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 CommunicationType stringToValue(String s)
public String toString()
toString
in class Enum<CommunicationType>