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