public class Functions
extends java.lang.Object
ChainFunction| Constructor and Description |
|---|
Functions() |
| Modifier and Type | Method and Description |
|---|---|
static <SOURCE,TARGET> |
ofSupplierConstrainedBy(java.util.function.Supplier<TARGET> supplier,
java.util.function.Predicate<SOURCE> conditionalTo)
Returns a
ChainFunction that will delegate when the provided Predicate is not satisfied |
public static <SOURCE,TARGET> ChainFunction<SOURCE,TARGET> ofSupplierConstrainedBy(java.util.function.Supplier<TARGET> supplier, java.util.function.Predicate<SOURCE> conditionalTo)
ChainFunction that will delegate when the provided Predicate is not satisfiedsupplier - the supplier to be called when the predicate is satisfiedconditionalTo - the predicate that will cause the return of the supplier execution or will delegate to the next
ChainFunctionChainFunctionCopyright © 2018 SAP SE. All Rights Reserved.