public boolean remove ( long id ) throws TYPE_1 { for ( int i = 0 ; i < ( VAR_1 . size ( ) ) ; i ++ ) { if ( ( VAR_1 . get ( i ) . getId ( ) ) == id ) { VAR_1 . remove ( id ) ; return true ; } } throw new TYPE_1 ( STRING_1 ) ; }

public boolean remove ( long id ) throws TYPE_1 { for ( int i = 0 ; i < ( VAR_1 . size ( ) ) ; i ++ ) { if ( ( VAR_1 . get ( i ) . getId ( ) ) == id ) { VAR_1 . remove ( i ) ; return true ; } } throw new TYPE_1 ( STRING_1 ) ; }
