public void METHOD_1 ( TYPE_1 item ) { if ( VAR_1 . contains ( item ) ) { VAR_1 . remove ( item . getId ( ) ) ; } VAR_1 . add ( item ) ; }
public void METHOD_1 ( TYPE_1 item ) { if ( VAR_1 . contains ( item ) ) { VAR_1 . remove ( item . getId ( ) ) ; } VAR_1 . add ( item . getId ( ) , item ) ; }