public interface Func<X,Y>
If you don't want to have any checked exceptions being thrown
out of your Func, you can use
UncheckedFunc decorator. Also
you may try IoCheckedFunc.
If you want to cache the result of the Func and
make sure it doesn't calculate anything twice, you can use
There is no thread-safety guarantee.
Y apply(X input)
Copyright © 2017 Cactoos. All rights reserved.