Lines Matching defs:result
42 * Suppose instead that you would like to use the first non-null result
55 * Result result = null;
63 * result = r;
74 * if (result != null)
75 * use(result);
102 private RunnableFuture<V> newTaskFor(Runnable task, V result) {
104 return new FutureTask<V>(task, result);
106 return aes.newTaskFor(task, result);
156 public Future<V> submit(Runnable task, V result) {
158 RunnableFuture<V> f = newTaskFor(task, result);