public void add ( int index , int element ) { METHOD_1 ( index ) ; METHOD_2 ( 1 ) ; TYPE_1 . METHOD_3 ( array , index , array , ( index + 1 ) , ( ( end ) - index ) ) ; array [ index ] = element ; }

public void add ( int index , int element ) { if ( index == ( size ( ) ) ) { add ( element ) ; } else { METHOD_1 ( index ) ; METHOD_2 ( 1 ) ; TYPE_1 . METHOD_3 ( array , index , array , ( index + 1 ) , ( ( end ) - index ) ) ; array [ index ] = element ; } }
