public TYPE_1 METHOD_1 ( ) { if ( ( size ) == 0 ) { throw new TYPE_2 ( ) ; } TYPE_1 VAR_1 = array [ end ] ; array [ end ] = null ; if ( ( end ) == 0 ) { end = ( array . length ) - 1 ; } else { ( end ) -- ; } return VAR_1 ; }
public TYPE_1 METHOD_1 ( ) { if ( ( size ) == 0 ) { return null ; } TYPE_1 VAR_1 = array [ end ] ; array [ end ] = null ; if ( ( end ) == 0 ) { end = ( array . length ) - 1 ; } else { ( end ) -- ; } ( size ) -- ; return VAR_1 ; }