public static TYPE_1 METHOD_1 ( java.lang.String name ) { TYPE_1 state = null ; for ( TYPE_1 VAR_1 : TYPE_1 . values ( ) ) if ( VAR_2 . equals ( name ) ) state = VAR_1 ; return state ; }
public static TYPE_1 METHOD_1 ( java.lang.String name ) { TYPE_1 state = null ; for ( TYPE_1 VAR_1 : TYPE_1 . values ( ) ) if ( VAR_2 . toLowerCase ( ) . equals ( name . toLowerCase ( ) ) ) state = VAR_1 ; return state ; }