public TYPE_1 get ( java.lang.String id ) { TYPE_1 result = null ; for ( int y = 0 ; y < ( VAR_1 ) ; y ++ ) { if ( ( VAR_2 . get ( y ) . getId ( ) . equals ( id ) ) && ( ( VAR_2 . get ( y ) ) != null ) ) { result = VAR_2 . get ( y ) ; } else { if ( result == null ) { throw new TYPE_2 ( STRING_1 ) ; } } } return result ; }

public TYPE_1 get ( java.lang.String id ) { TYPE_1 result = null ; for ( int y = 0 ; y < ( VAR_1 ) ; y ++ ) { if ( ( ( VAR_2 . get ( y ) ) != null ) && ( VAR_2 . get ( y ) . getId ( ) . equals ( id ) ) ) { result = VAR_2 . get ( y ) ; if ( result != null ) { break ; } } else { throw new TYPE_2 ( STRING_1 ) ; } } return result ; }
