Code example for Stack

Methods: pop, push

0
        mIsWhereFirstElement = false;
        return this;
    } 
 
    public ProviderCriteria startOr() { 
        mOperandStack.pop();
        mOperandStack.push(false);
        return this;
    } 
 
    public ProviderCriteria endOr() { 
        mOperandStack.pop();
        mOperandStack.push(true);
        return this;
    } 
 
    public ProviderCriteria addSortOrder(final ColumnMetadata metadata, final boolean isAscendant) {
        if (mIsOrderFirstElement) {
            mIsOrderFirstElement = false;
        } else { 
            mOrderSb.append(",");