Package org.aoju.bus.core.lang
Interface Enums<E extends Enums<E>>
- Type Parameters:
E- Enum类型
- All Superinterfaces:
Serializable
枚举元素通用接口,在自定义枚举上实现此接口可以用于数据转换 数据库保存时建议保存 intVal()而非ordinal()防备需求变更
-
Method Summary
-
Method Details
-
name
String name() -
text
-
intVal
int intVal() -
items
-
from
-
from
-