- All Implemented Interfaces:
IValue
A custom defined value for a formula
-
Constructor Summary
Constructors
A defined value used in formulas
-
Method Summary
double
Gets the value using the inputs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CustomValue
public CustomValue(String token)
A defined value used in formulas
- Parameters:
token - equation token
-
Method Details
-
compute
public double compute(double... input)
Gets the value using the inputs
- Specified by:
compute in interface IValue
- Parameters:
input - the input data
- Returns:
- result value