public static enum TimeUtil.STATE extends Enum<TimeUtil.STATE>
| Modifier and Type | Method and Description |
|---|---|
static TimeUtil.STATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUtil.STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeUtil.STATE IDLE
public static final TimeUtil.STATE PREPARE
public static final TimeUtil.STATE RUNNING
public static TimeUtil.STATE[] values()
for (TimeUtil.STATE c : TimeUtil.STATE.values()) System.out.println(c);
public static TimeUtil.STATE 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 Alibaba Group. All rights reserved.