-
- All Implemented Interfaces:
public final class HelpersKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Enum<T>, IntegerEnum> T
valueOf(Integer value)
Gets enum of type T where the enums' value matches value. final static <T extends Enum<T>, StringEnum> T
valueOf(String value)
Gets enum of type T where the enums' value matches value. -
-
Method Detail
-
valueOf
final static <T extends Enum<T>, IntegerEnum> T valueOf(Integer value)
Gets enum of type T where the enums' value matches value. The enum must implement IntegerEnum
-
valueOf
final static <T extends Enum<T>, StringEnum> T valueOf(String value)
Gets enum of type T where the enums' value matches value. The enum must implement StringEnum
-
-
-
-