public int METHOD_1 ( java.lang.String name ) throws TYPE_1 { for ( int i = 0 ; i < ( TYPE_2 . size ( ) ) ; i ++ ) { if ( ( this . METHOD_2 ( i ) ) == null ) { if ( name == null ) { throw new TYPE_1 ( ) ; } } else if ( this . METHOD_2 ( i ) . equals ( name ) ) { return i ; } } throw new TYPE_1 ( ) ; }

public int METHOD_1 ( java.lang.String name ) throws TYPE_1 { for ( int i = 0 ; i < ( TYPE_2 . size ( ) ) ; i ++ ) { if ( ( TYPE_2 . get ( i ) . fieldName ) == name ) return i ; } throw new TYPE_1 ( ) ; }
