asEnumName<T extends Enum> method
As enum frum name (string) value
Implementation
T asEnumName<T extends Enum>(Iterable<T> values)
{
assertIsNotNull();
String name = asString();
return values.byName(name);
}
As enum frum name (string) value
T asEnumName<T extends Enum>(Iterable<T> values)
{
assertIsNotNull();
String name = asString();
return values.byName(name);
}