public enum RunMode extends Enum<RunMode>
| Modifier and Type | Method and Description |
|---|---|
static RunMode |
get(String name)
根据枚举名获取枚举
|
static RunMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunMode RELEASE
public static final RunMode DEBUG
public static RunMode[] values()
for (RunMode c : RunMode.values()) System.out.println(c);
public static RunMode 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 nullCopyright © 2021–2022 EasyJ????. All rights reserved.