public synchronized < TYPE_1 extends TYPE_2 > TYPE_1 add ( TYPE_1 VAR_1 ) { if ( ! ( VAR_2 . contains ( VAR_1 ) ) ) VAR_2 . add ( VAR_1 ) ; return VAR_1 ; }
public < TYPE_1 extends TYPE_2 > TYPE_1 add ( TYPE_1 VAR_1 ) { synchronized ( VAR_2 ) { if ( ! ( VAR_2 . contains ( VAR_1 ) ) ) VAR_2 . add ( VAR_1 ) ; } return VAR_1 ; }