@PublicApi public class NaturalEnumValuesProvider<T extends java.lang.Enum<T>> extends java.lang.Object implements EnumValuesProvider
Constructor and Description |
---|
NaturalEnumValuesProvider(java.lang.Class<T> enumType) |
Modifier and Type | Method and Description |
---|---|
T |
getValue(java.lang.String name) |
public NaturalEnumValuesProvider(java.lang.Class<T> enumType)
public T getValue(java.lang.String name)
getValue
in interface EnumValuesProvider
name
- an Enum value