if (!mElements || (mCount == 0) || (mCurrent == mCount - 1))
if (!mElements || (mCount == 0) || (mCurrent == mCount - 1)) { mDoneFlag = PR_TRUE;
nsHashtableEnumerator::Next (){    if (!mElements || (mCount == 0) || (mCurrent == mCount - 1))        return NS_ERROR_FAILURE;    mCurrent++;    if (mCurrent == mCount - 1)        mDoneFlag = PR_TRUE;    else        mDoneFlag = PR_FALSE;        return NS_OK;    }