public enum OperatorTypeEnum extends Enum<OperatorTypeEnum> implements net.mingsoft.base.constant.e.BaseEnum
| 限定符和类型 | 方法和说明 |
|---|---|
int |
toInt() |
static OperatorTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static OperatorTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final OperatorTypeEnum OTHER
public static final OperatorTypeEnum MANAGE
public static final OperatorTypeEnum PEOPLE
public static OperatorTypeEnum[] values()
for (OperatorTypeEnum c : OperatorTypeEnum.values()) System.out.println(c);
public static OperatorTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int toInt()
toInt 在接口中 net.mingsoft.base.constant.e.BaseEnumCopyright © 2022. All rights reserved.