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