public static enum User.EnumAction extends Enum<User.EnumAction>
Enum Constant and Description |
---|
VALUE_CONSUME |
VALUE_DROP |
VALUE_MARK |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static User.EnumAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static User.EnumAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.EnumAction VALUE_CONSUME
public static final User.EnumAction VALUE_DROP
public static final User.EnumAction VALUE_MARK
public static User.EnumAction[] values()
for (User.EnumAction c : User.EnumAction.values()) System.out.println(c);
public static User.EnumAction 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<User.EnumAction>
Copyright © 2020. All rights reserved.