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