Lines Matching defs:newTaskFor
49 * {@link RunnableFuture} returned by {@code newTaskFor}, which defaults
53 * returned. Subclasses may override the {@code newTaskFor} methods
65 * protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) {
68 * protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) {
92 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) {
107 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) {
117 RunnableFuture<Void> ftask = newTaskFor(task, null);
128 RunnableFuture<T> ftask = newTaskFor(task, result);
139 RunnableFuture<T> ftask = newTaskFor(task);
240 RunnableFuture<T> f = newTaskFor(t);
270 futures.add(newTaskFor(t));