Class DynamicCallable<T,R>
- java.lang.Object
-
- com.pranavpandey.android.dynamic.util.concurrent.DynamicCallable<T,R>
-
- Type Parameters:
T- The type of the params.R- The type of the result.
- All Implemented Interfaces:
java.util.concurrent.Callable<R>
public abstract class DynamicCallable<T,R> extends java.lang.Object implements java.util.concurrent.Callable<R>Base class to implement theCallablewith parameters.
-
-
Constructor Summary
Constructors Constructor Description DynamicCallable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetParams()Get the parameters associated with this class.voidsetParams(T params)Set the parameters associated for this class.
-
-
-
Method Detail
-
getParams
@Nullable public T getParams()
Get the parameters associated with this class.- Returns:
- The parameters associated with this class.
-
setParams
public void setParams(@Nullable T params)Set the parameters associated for this class.- Parameters:
params- The parameters for this class.
-
-