Class SimpleFuture<T>

java.lang.Object
org.robolectric.util.SimpleFuture<T>
Type Parameters:
T - The result type returned by this Future's get method.

@Deprecated public class SimpleFuture<T> extends Object
Deprecated.
This class can introduce deadlocks, since its lock is held while invoking run().
A Future represents the result of an asynchronous computation.
  • Constructor Details

    • SimpleFuture

      public SimpleFuture(Callable<T> callable)
      Deprecated.
  • Method Details