public void METHOD_1 ( int index ) { VAR_1 . get ( index ) . METHOD_2 ( ) ; VAR_1 . remove ( index ) ; TYPE_1 . METHOD_3 ( STRING_1 , STRING_2 ) ; }
public void METHOD_1 ( int id ) { if ( ( VAR_1 . get ( id ) ) != null ) { VAR_1 . get ( id ) . METHOD_2 ( ) ; VAR_1 . remove ( id ) ; } }