SOURCE
- type of special argumentRETTYPE
- type of return valuepublic abstract static class Function.ArgDrivenFunction<SOURCE,RETTYPE> extends java.lang.Object implements Function
Function.ArgDrivenFunction<SOURCE,RETTYPE>, Function.ArgDrivenListFunction<S>, Function.ArgDrivenSingleFunction<S,R>, Function.BaseFunction<T>, Function.ListFunction, Function.SingleFunction<T>, Function.SquashFunction<T>
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<SOURCE> |
specialArgType |
Modifier | Constructor and Description |
---|---|
private |
ArgDrivenFunction() |
Modifier and Type | Method and Description |
---|---|
Optional<java.lang.Object> |
apply(java.lang.Object... args) |
protected abstract Optional<java.lang.Object> |
applyList(SOURCE specialArg,
java.util.List<java.lang.Object> args) |
protected abstract Optional<RETTYPE> |
applySingle(SOURCE specialArg,
java.lang.Object arg) |
private Optional<SOURCE> |
getSpecialArg(java.lang.Object[] args) |