public class EnumUtils extends Object
| Constructor and Description |
|---|
EnumUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMapping(Target target,
IMappedConstant value) |
static <V extends Enum<V> & IByteConstant> |
isDefined(Class<V> valueType,
byte value) |
static String |
mapDigitalWalletType(Target target,
MobilePaymentMethodType type) |
static <V extends Enum<V> & IByteConstant> |
parse(Class<V> valueType,
byte value) |
static <V extends Enum<V> & INumericConstant> |
parse(Class<V> valueType,
int value) |
static <V extends Enum<V> & IStringConstant> |
parse(Class<V> valueType,
String value) |
public static <V extends Enum<V> & IByteConstant> boolean isDefined(Class<V> valueType, byte value)
public static <V extends Enum<V> & IByteConstant> V parse(Class<V> valueType, byte value)
public static <V extends Enum<V> & IStringConstant> V parse(Class<V> valueType, String value)
public static <V extends Enum<V> & INumericConstant> V parse(Class<V> valueType, int value)
public static String getMapping(Target target, IMappedConstant value)
public static String mapDigitalWalletType(Target target, MobilePaymentMethodType type)
Copyright © 2024. All rights reserved.