Package net.sourceforge.plantuml.evalex
Interface Function
-
- All Superinterfaces:
LazyFunction
- All Known Implementing Classes:
AbstractFunction,Expression.Function
public interface Function extends LazyFunction
Base interface which is required for all directly evaluated functions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.math.BigDecimaleval(java.util.List<? extends java.lang.Number> parameters)Implementation for this function.-
Methods inherited from interface net.sourceforge.plantuml.evalex.LazyFunction
getName, getNumParams, isBooleanFunction, lazyEval, numParamsVaries
-
-
-
-
Method Detail
-
eval
java.math.BigDecimal eval(java.util.List<? extends java.lang.Number> parameters)
Implementation for this function.- Parameters:
parameters- Parameters will be passed by the expression evaluator as aListofBigDecimalvalues.- Returns:
- The function must return a new
BigDecimalvalue as a computing result.
-
-