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 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