public enum ConfigType extends Enum<ConfigType>
| 枚举常量和说明 |
|---|
CLIENT_SIDE |
SERVER_SIDE |
public static final ConfigType CLIENT_SIDE
public static final ConfigType SERVER_SIDE
public static ConfigType[] values()
for (ConfigType c : ConfigType.values()) System.out.println(c);
public static ConfigType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021. All rights reserved.