Interface ChainFunction<SOURCE_TYPE,TARGET_TYPE>

Type Parameters:
SOURCE_TYPE - the in-bound type of the function
TARGET_TYPE - the out-bound type of the function
All Superinterfaces:
Function<SOURCE_TYPE,Optional<TARGET_TYPE>>

public interface ChainFunction<SOURCE_TYPE,TARGET_TYPE> extends Function<SOURCE_TYPE,Optional<TARGET_TYPE>>
Represents a function that will delegate its returned Optional-wrapped value to another ChainFunction if its own execution returns empty.

This is functional interface whose functional method is Function.apply(Object).

See Also: