public enum AbnormalCodeType extends Enum<AbnormalCodeType>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
static String |
getNameByValue(int value)
功能描述: 根据数据代码返回所对应的类型
|
int |
getValue() |
static AbnormalCodeType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AbnormalCodeType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AbnormalCodeType T1
public static final AbnormalCodeType T2
public static final AbnormalCodeType T3
public static final AbnormalCodeType T4
public static final AbnormalCodeType T5
public static final AbnormalCodeType T6
public static final AbnormalCodeType T7
public static final AbnormalCodeType T8
public static AbnormalCodeType[] values()
for (AbnormalCodeType c : AbnormalCodeType.values()) System.out.println(c);
public static AbnormalCodeType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getValue()
public String getName()
public static String getNameByValue(int value)
value - Copyright © 2018. All rights reserved.