Package org.apfloat.calc
Interface FunctionCalculatorImpl.Function
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
FunctionCalculatorImpl.FixedFunction
- Enclosing class:
- FunctionCalculatorImpl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface protected static interface FunctionCalculatorImpl.Function extends java.io.Serializable
Arbitrary function.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Number
call(java.util.List<java.lang.Number> arguments)
Call the function.
-
-
-
Method Detail
-
call
java.lang.Number call(java.util.List<java.lang.Number> arguments) throws ParseException
Call the function.- Parameters:
arguments
- The function's arguments.- Returns:
- The function's value.
- Throws:
ParseException
- In case the arguments are invalid.
-
-