X
Y
public final class FuncWithFallback<X,Y> extends Object implements Func<X,Y>
There is no thread-safety guarantee.
Func.NoNulls<X,Y>
FuncWithFallback(Func<X,Y> fnc, Func<Throwable,Y> fbk)
FuncWithFallback(Func<X,Y> fnc, Func<Throwable,Y> fbk, Func<Y,Y> flw)
apply(X input)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FuncWithFallback(Func<X,Y> fnc, Func<Throwable,Y> fbk)
fnc
fbk
public FuncWithFallback(Func<X,Y> fnc, Func<Throwable,Y> fbk, Func<Y,Y> flw)
flw
public Y apply(X input) throws Exception
Func
apply
Func<X,Y>
input
Exception
Copyright © 2017–2018 Cactoos. All rights reserved.