public interface CodeEnum
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
code()
枚举的 code 值
|
String |
value()
枚举的属性
|
static <EnumType extends CodeEnum> |
valueOf(Class<EnumType> enumType,
Integer i)
通过code 获取枚举值
|
Copyright © 2021 WUHAN trayvon. All rights reserved.