public TYPE_1 METHOD_1 ( ) { if ( ( size ( ) ) == 0 ) throw new TYPE_2 ( STRING_1 ) ; TYPE_1 item = VAR_1 [ first ] ; VAR_1 [ first ] = null ; if ( ( ++ ( first ) ) >= ( VAR_1 . length ) ) first = 0 ; if ( ( size ( ) ) == ( ( VAR_1 . length ) / INT_1 ) ) METHOD_2 ( ( ( VAR_1 . length ) / INT_2 ) ) ; return item ; }

public TYPE_1 METHOD_1 ( ) { if ( ( size ( ) ) == 0 ) throw new TYPE_2 ( STRING_1 ) ; if ( ( size ( ) ) == ( ( VAR_1 . length ) / INT_1 ) ) METHOD_2 ( ( ( VAR_1 . length ) / INT_2 ) ) ; TYPE_1 item = VAR_1 [ first ] ; VAR_1 [ first ] = null ; first = ( ( first ) + 1 ) % ( VAR_1 . length ) ; return item ; }
