public TYPE_1 delete ( ) { if ( ( size ) == 0 ) { throw new TYPE_2 ( ) ; } else { TYPE_1 out = data [ 1 ] ; data [ 1 ] = null ; for ( int i = 0 ; i < ( ( data . length ) - 1 ) ; i ++ ) { data [ i ] = data [ ( i + 1 ) ] ; } ( size ) -- ; METHOD_1 ( ) ; return out ; } }

public TYPE_1 delete ( ) { if ( ( size ) == 0 ) { throw new TYPE_2 ( ) ; } else { TYPE_1 out = data [ 1 ] ; data [ 1 ] = null ; for ( int i = 0 ; i < ( size ) ; i ++ ) { data [ i ] = data [ ( i + 1 ) ] ; } ( size ) -- ; METHOD_1 ( ) ; data [ ( ( size ) + 1 ) ] = null ; return out ; } }
