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:
Callable<R>

public abstract class DynamicCallable<T,R> extends Object implements Callable<R>
Base class to implement the Callable with parameters.
  • Constructor Details

    • DynamicCallable

      public DynamicCallable()
  • Method Details

    • 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.