public class StandardFunction extends Object implements MathObject
| Constructor and Description |
|---|
StandardFunction(int opCode)
Create a StandardFunction object to represent the standard
function with the given operation code, where opCode is one
of the codes for standard functions defined in class ExpressionProgram.
|
StandardFunction(String name,
int opCode)
Create a StandardFunction object to represent the standard
function with the given operation code, where opCode is one
of the codes for stadard functions defined in class ExpressionProgram.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the name of this StandardFunction oject.
|
int |
getOpCode()
Return the operation code for this standard function.
|
void |
setName(String name)
Change the name of this StandardFunction.
|
static String |
standardFunctionName(int opCode)
Return the usual name for the standard function with the
specified opCode.
|
public StandardFunction(int opCode)
public StandardFunction(String name, int opCode)
public int getOpCode()
public String getName()
getName in interface MathObjectpublic void setName(String name)
setName in interface MathObjectpublic static String standardFunctionName(int opCode)