Serializable, Comparable<Operations>public enum Operations extends Enum<Operations>
| Enum Constant | Description |
|---|---|
CREATE |
The create.
|
TRANSFER |
The transfer.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
toString() |
|
static Operations |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Operations[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operations CREATE
public static final Operations TRANSFER
public static Operations[] values()
for (Operations c : Operations.values()) System.out.println(c);
public static Operations 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 String toString()
toString in class Enum<Operations>Copyright © 2018. All rights reserved.