X
Y
public final class SyncFunc<X,Y> extends Object implements Func<X,Y>
Objects of this class are thread safe.
Func.NoNulls<X,Y>
SyncFunc(Callable<Y> callable)
SyncFunc(Func<X,Y> fnc)
SyncFunc(Func<X,Y> fnc, Object lck)
SyncFunc(Proc<X> proc)
SyncFunc(Runnable runnable)
apply(X input)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SyncFunc(Runnable runnable)
runnable
public SyncFunc(Callable<Y> callable)
callable
public SyncFunc(Proc<X> proc)
proc
public SyncFunc(Func<X,Y> fnc)
fnc
public SyncFunc(Func<X,Y> fnc, Object lck)
lck
public Y apply(X input) throws Exception
Func
apply
Func<X,Y>
input
Exception
Copyright © 2017 Cactoos. All rights reserved.