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) |
@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 © 2006–2015 phloc systems. All rights reserved.