Interface RecursiveCall<T>
- Type Parameters:
T
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An alternative approach to recursion is using an infinite Stream pipeline with the recursive call wrapped in a functional interface.
-
Method Details
-
apply
RecursiveCall<T> apply() -
isComplete
default boolean isComplete() -
result
-
run
-
done
-