public class EnumUtil extends Object
| Constructor and Description |
|---|
EnumUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
getNameById(Integer id,
Class<T> cls)
动态获取枚举对象名称
|
static <T,V> V |
getPropertyById(Integer id,
Class<T> cls,
String propertyName)
动态获取枚举对象属性
|
Copyright © 2018. All rights reserved.