/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ExecutorCompletionService.java | 126 private RunnableFuture<V> newTaskFor(Callable<V> task) { in newTaskFor() method in ExecutorCompletionService 130 return aes.newTaskFor(task); in newTaskFor() 133 private RunnableFuture<V> newTaskFor(Runnable task, V result) { in newTaskFor() method in ExecutorCompletionService 137 return aes.newTaskFor(task, result); in newTaskFor() 182 RunnableFuture<V> f = newTaskFor(task); in submit() 189 RunnableFuture<V> f = newTaskFor(task, result); in submit()
|
D | AbstractExecutorService.java | 92 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() method in AbstractExecutorService 107 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() method in AbstractExecutorService 117 RunnableFuture<Void> ftask = newTaskFor(task, null); in submit() 128 RunnableFuture<T> ftask = newTaskFor(task, result); in submit() 139 RunnableFuture<T> ftask = newTaskFor(task); in submit() 240 RunnableFuture<T> f = newTaskFor(t); in invokeAll() 270 futures.add(newTaskFor(t)); in invokeAll()
|
D | ForkJoinPool.java | 3454 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() method in ForkJoinPool 3458 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() method in ForkJoinPool
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | AbstractExecutorServiceTest.java | 66 public <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() method in AbstractExecutorServiceTest.TestExecutorService 67 return super.newTaskFor(runnable, value); in newTaskFor()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorCompletionServiceTest.java | 171 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { in testNewTaskForCallable() 202 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) { in testNewTaskForRunnable()
|
D | ThreadPoolExecutorSubclassTest.java | 153 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE 156 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ExecutorCompletionServiceTest.java | 232 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { in testNewTaskForCallable() 262 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) { in testNewTaskForRunnable()
|
D | ThreadPoolExecutorSubclassTest.java | 175 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE 178 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE
|
/libcore/api/ |
D | current.txt | 14095 method protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(Runnable, T); 14096 …method protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(java.util.concurrent.Callab…
|