Package com.emc.documentum.rest.constant

# Class IntegerEnum

java.lang.Object
com.emc.documentum.rest.constant.IntegerEnum

public class IntegerEnum extends Object
An utility to generate (value, constant name) map for enum types which implement `IntegerValue`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T extends Enum<T> & IntegerValue>
  Map<Integer,String>`
  `valueMap(Class<T> enumClass)`
  generate (value, constant name) map for enum types which implement `IntegerValue`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### valueMap

    public static <T extends Enum<T> & IntegerValue> Map<Integer,String> valueMap(Class<T> enumClass)
    generate (value, constant name) map for enum types which implement `IntegerValue`
    Type Parameters:
      `T` - enum types which implement `IntegerValue`
    Parameters:
      `enumClass` - Class object of the enum type
    Returns:
      (value, constant name) map for enum types