Package org.robolectric.util
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.
A Future represents the result of an asynchronous computation.
-
Constructor Summary
Constructors Constructor Description SimpleFuture(Callable<T> callable)
Deprecated. -
Method Summary
-
Constructor Details
-
SimpleFuture
Deprecated.
-
-
Method Details
-
isCancelled
public boolean isCancelled()Deprecated. -
cancel
public boolean cancel(boolean mayInterruptIfRunning)Deprecated. -
get
Deprecated.- Throws:
InterruptedException
-
get
Deprecated.- Throws:
InterruptedException
-
run
public void run()Deprecated. -
done
protected void done()Deprecated.
-