public TYPE_1 remove ( TYPE_2 key ) { TYPE_1 value = null ; for ( int i = 0 ; i < ( size ) ; i ++ ) { if ( values [ i ] . METHOD_1 ( ) . equals ( key ) ) { value = values [ i ] . getValue ( ) ; values [ i ] = null ; ( size ) -- ; METHOD_2 ( i ) ; } } return value ; }

public TYPE_1 remove ( TYPE_2 key ) { TYPE_1 value = null ; for ( int i = 0 ; i < ( size ) ; i ++ ) { if ( ( ( values [ i ] ) != null ) && ( values [ i ] . METHOD_1 ( ) . equals ( key ) ) ) { value = values [ i ] . getValue ( ) ; values [ i ] = null ; ( size ) -- ; METHOD_2 ( i ) ; } } return value ; }
