public enum OptType extends Enum<OptType>
public static final OptType OTHER
public static final OptType MANAGE
public static final OptType MOBILE
private final String code
public static OptType[] values()
for (OptType c : OptType.values()) System.out.println(c);
public static OptType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getCode()
Copyright © 2024. All rights reserved.