internalfunction.java

来自「JAVA 数学程序库 提供常规的数值计算程序包」· Java 代码 · 共 29 行

JAVA
29
字号
package jmathlib.core.functions;

import jmathlib.core.tokens.Token;
import jmathlib.core.tokens.OperandToken;

/**The base class for all the internal function types*/
public class InternalFunction extends Function
{
	/**Default constructor - creates an internal function with a null name*/
	public InternalFunction()
	{
		name = "";
	}

	/**Creates an internal function with it's name set to _name
	@param _name = the name of the function*/
	public InternalFunction(String _name)
	{
		name = _name;
	}

	/**Executes the internal function
	@param operands - the array of parameters
	@return the result as an OperandToken*/	
	public OperandToken evaluate(Token[] operands)
	{
		return null;
	}
}

⌨️ 快捷键说明

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