Lines Matching refs:FutureTask
50 * <p>A {@code FutureTask} can be used to wrap a {@link Callable} or
51 * {@link Runnable} object. Because {@code FutureTask} implements
52 * {@code Runnable}, a {@code FutureTask} can be submitted to an
61 * @param <V> The result type returned by this FutureTask's {@code get} methods
63 public class FutureTask<V> implements RunnableFuture<V> {
126 * Creates a {@code FutureTask} that will, upon running, execute the
132 public FutureTask(Callable<V> callable) {
140 * Creates a {@code FutureTask} that will, upon running, execute the
148 * {@code Future<?> f = new FutureTask<Void>(runnable, null)}
151 public FutureTask(Runnable runnable, V result) {
470 Class<?> k = FutureTask.class;