public abstract static class FormulaEvaluatorUtil.FunctionWithListAsArgumentHelper<E> extends Object
getPreliminaryResult(Object, Object) and
getFallBackValue().| Constructor and Description |
|---|
FunctionWithListAsArgumentHelper() |
| Modifier and Type | Method and Description |
|---|---|
abstract E |
getFallBackValue()
Returns the value this function defaults to if an empty list or null is given as an
argument.
|
abstract E |
getPreliminaryResult(E currentResult,
E nextValue)
Calculates a preliminary result based on the current result and the next value in the
list.
|
E |
getResult(List<E> listOfValues)
Returns the result of this function given a list of values.
|
public E getResult(List<E> listOfValues)
listOfValues - A List of values.public abstract E getFallBackValue()
public abstract E getPreliminaryResult(E currentResult, E nextValue)
currentResult - The current result calculated up to this point.nextValue - The value to be considered next.Copyright © 2023. All rights reserved.