public class EnumUtils extends Object
| Constructor and Description |
|---|
EnumUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Enum |
getEnumByValue(Class c,
Object value)
获得枚举,根据EnumMapping 注解,如果没有,则使用枚举名称
|
static Object |
getValueByEnum(Object en) |
Copyright © 2020. All rights reserved.