Lines Matching defs:newTaskFor
43 * {@link RunnableFuture} returned by <tt>newTaskFor</tt>, which defaults
47 * returned. Subclasses may override the <tt>newTaskFor</tt> methods
59 * protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) {
62 * protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) {
85 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) {
99 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) {
109 RunnableFuture<Void> ftask = newTaskFor(task, null);
120 RunnableFuture<T> ftask = newTaskFor(task, result);
131 RunnableFuture<T> ftask = newTaskFor(task);
236 RunnableFuture<T> f = newTaskFor(t);
268 futures.add(newTaskFor(t));