Package com.emc.documentum.rest.constant
Class IntegerEnum
java.lang.Object
com.emc.documentum.rest.constant.IntegerEnum
An utility to generate (value, constant name) map for enum types which implement
IntegerValue
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T> & IntegerValue>
Map<Integer,String> generate (value, constant name) map for enum types which implementIntegerValue
-
Method Details
-
valueMap
generate (value, constant name) map for enum types which implementIntegerValue
- Type Parameters:
T
- enum types which implementIntegerValue
- Parameters:
enumClass
- Class object of the enum type- Returns:
- (value, constant name) map for enum types
-