public enum ActionTypes extends Enum<ActionTypes>
public static final ActionTypes READ
public static final ActionTypes WRITE
public static ActionTypes[] values()
for (ActionTypes c : ActionTypes.values()) System.out.println(c);
public static ActionTypes valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String toString()
toString 在类中 Enum<ActionTypes>Copyright © 2018–2022 Alibaba Group. All rights reserved.