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