⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 operatortoken.java

📁 JAVA 数学程序库 提供常规的数值计算程序包
💻 JAVA
字号:
package jmathlib.core.tokens;

//import MathLib.Interpreter.RootObject;
//import MathLib.Casts.CastClass;

/**The base class of all operators used in an expression*/
abstract public class OperatorToken extends Token
{

    /**Char representing the operator*/
    protected char value;

    /**default constructor*/
    public OperatorToken()
    {
    	super();
    }

    /**constructor,
    @param _priority, the operators priority */
    public OperatorToken(int _priority)
    {
        super(_priority);
    }
    
    /**@return the value of the operator*/
    public char getValue()
    {
        return value;
    }
    
    /**
     * 
     * @return priority of given operator
     */
    public int getPriority()
    {
        return priority;
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -