static enum Alert.Level extends Enum<Alert.Level>
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) String |
description |
(专用程序包) byte |
level |
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) static String |
nameOf(byte level) |
(专用程序包) static Alert.Level |
valueOf(byte level) |
static Alert.Level |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Alert.Level[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Alert.Level WARNING
public static final Alert.Level FATAL
final byte level
final String description
public static Alert.Level[] values()
for (Alert.Level c : Alert.Level.values()) System.out.println(c);
public static Alert.Level valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值static Alert.Level valueOf(byte level)
static String nameOf(byte level)
Copyright © 2023. All rights reserved.