public abstract class Function extends Operation
Abstract Function class.
Constructor and Description |
---|
Function()
Constructor for Function.
|
Function(TokVariable var)
Constructor for Function.
|
Modifier and Type | Method and Description |
---|---|
int |
getParameterCount()
Getter for the field
parameterCount . |
protected int |
precedence()
precedence.
|
void |
setParameterCount(int newParameterCount)
Setter for the field
parameterCount . |
void |
updateParameterCount(EquPart[] equParts,
int myLocInArray)
updateParameterCount.
|
convertToBoolean, convertToDouble, includeInRpn, preceeds
public Function()
Constructor for Function.
public Function(TokVariable var)
Constructor for Function.
var
- a TokVariable
object.public int getParameterCount()
Getter for the field parameterCount
.
protected int precedence()
precedence.
precedence
in class Operation
public void setParameterCount(int newParameterCount)
Setter for the field parameterCount
.
newParameterCount
- a int.Copyright © 2018 CodeTaco. All rights reserved.