EnumT function ( String arg0 ) { EnumT loc0 = knownValues . get ( arg0 ) ; if ( loc0 != null ) { return loc0 ; } else { throw new IllegalArgumentException ( "srini_string" ) ; } }
get the enum object for the given string constant , and throw an exception if the constant is not recognized . concode_field_sep Map<String,EnumT> knownValues concode_elem_sep ApiFunction<String,EnumT> constructor concode_elem_sep Class<EnumT> clazz concode_field_sep EnumT valueOf concode_elem_sep EnumT[] values concode_elem_sep EnumT createAndRegister