public static int getPrecedence(Character someOperator)
    {
        char ch = someOperator.charValue();
        int precedence = 0;
        
        switch(ch)
        {
            case '^':
                precedence = 5;
                break;
                
            case '*':
            case '/':
                precedence = 4;
                break;
                
            case '+':
            case '-':
                precedence = 3;
                break;
                
            case '=':
                precedence = 2;
                break;
        
        }//end switch(ch)
        
        return precedence;
        
    }//end getPrecedence()