DATATYPE - The callable result type.PARAMTYPE - The parameter type.@Immutable public class AdapterCallableToCallableWithParam<DATATYPE,PARAMTYPE> extends Object implements IThrowingCallableWithParameter<DATATYPE,PARAMTYPE>
Callable into an
IThrowingCallableWithParameter.| Constructor and Description |
|---|
AdapterCallableToCallableWithParam(Callable<DATATYPE> aCallable) |
| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
call(PARAMTYPE aParam)
The call back method to be called.
|
String |
toString() |
@Nonnull public DATATYPE call(@Nonnull PARAMTYPE aParam) throws Exception
IThrowingCallableWithParametercall in interface IThrowingCallableWithParameter<DATATYPE,PARAMTYPE>aParam - The parameter to be passed in. May be null or non-
null depending on the implementation.null or non- null
depending on the implementation.Exception - in case something goes wrongCopyright © 2014 Philip Helger. All rights reserved.