|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParamCallable<S,T>
interface providing a common protocol for objects that wish to execute code with one parameter and return a result to the caller.
this class solves the problem that in the standard JDK there is no Callable
with a
parameter.
Callable
Method Summary | |
---|---|
S |
call(T param)
execute code with one parameter and return a result. unlike Callable.call() , this
method does not declare an exception. |
Method Detail |
---|
S call(T param)
Callable.call()
, this
method does not declare an exception.
param
- - the parameter to hand over.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |