public enum DeleteEnum extends Enum<DeleteEnum> implements BaseEnum
| Enum Constant and Description |
|---|
DEL
伪删除(DEL已删除,值为1)
|
NOTDEL
伪删除(NOTDEL正常,值为0)
|
| Modifier and Type | Method and Description |
|---|---|
int |
toInt()
返回该对象的整型表示
|
String |
toString()
返回该对象的字符串表示
|
static DeleteEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeleteEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeleteEnum DEL
public static final DeleteEnum NOTDEL
public static DeleteEnum[] values()
for (DeleteEnum c : DeleteEnum.values()) System.out.println(c);
public static DeleteEnum 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 int toInt()
BaseEnumCopyright © 2021. All rights reserved.