Searched defs:callable (Results 1 - 8 of 8) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ScheduledExecutorService.java | 88 * @param callable the function to execute 94 * @throws NullPointerException if callable is null 96 public <V> ScheduledFuture<V> schedule(Callable<V> callable, argument
|
H A D | AbstractExecutorService.java | 61 * Returns a <tt>RunnableFuture</tt> for the given callable task. 63 * @param callable the callable task being wrapped 65 * underlying callable and which, as a <tt>Future</tt>, will yield 66 * the callable's result as its result and provide for 70 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { argument 71 return new FutureTask<T>(callable);
|
H A D | Executors.java | 303 * @return a callable object 306 public static <T> Callable<T> callable(Runnable task, T result) { method in class:Executors 316 * @return a callable object 319 public static Callable<Object> callable(Runnable task) { method in class:Executors 329 * @return a callable object 332 public static Callable<Object> callable(final PrivilegedAction<?> action) { method in class:Executors 344 * @return a callable object 347 public static Callable<Object> callable(final PrivilegedExceptionAction<?> action) { method in class:Executors 357 public static <T> Callable<T> privilegedCallable(Callable<T> callable) { argument 358 if (callable 371 privilegedCallableUsingCurrentClassLoader(Callable<T> callable) argument 615 schedule(Callable<V> callable, long delay, TimeUnit unit) argument [all...] |
H A D | FutureTask.java | 72 /** The underlying callable; nulled out after running */ 73 private Callable<V> callable; field in class:FutureTask 76 /** The thread running the callable; CASed during run() */ 101 * @param callable the callable task 102 * @throws NullPointerException if the callable is null 104 public FutureTask(Callable<V> callable) { argument 105 if (callable == null) 107 this.callable = callable; [all...] |
H A D | ForkJoinTask.java | 1249 final Callable<? extends T> callable; field in class:ForkJoinTask.AdaptedCallable 1251 AdaptedCallable(Callable<? extends T> callable) { argument 1252 if (callable == null) throw new NullPointerException(); 1253 this.callable = callable; 1259 result = callable.call(); 1304 * @param callable the callable action 1307 public static <T> ForkJoinTask<T> adapt(Callable<? extends T> callable) { argument 1308 return new AdaptedCallable<T>(callable); [all...] |
H A D | ScheduledThreadPoolExecutor.java | 201 ScheduledFutureTask(Callable<V> callable, long ns) { argument 202 super(callable); 378 * Modifies or replaces the task used to execute a callable. 383 * @param callable the submitted Callable 384 * @param task the task created to execute the callable 385 * @return a task that can execute the callable 389 Callable<V> callable, RunnableScheduledFuture<V> task) { 513 public <V> ScheduledFuture<V> schedule(Callable<V> callable, argument 516 if (callable == null || unit == null) 518 RunnableScheduledFuture<V> t = decorateTask(callable, 388 decorateTask( Callable<V> callable, RunnableScheduledFuture<V> task) argument [all...] |
H A D | ForkJoinPool.java | 2080 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { argument 2081 return (RunnableFuture<T>) ForkJoinTask.adapt(callable);
|
/libcore/support/src/test/java/tests/resources/ |
H A D | junit4-4.3.1.jar | META-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ... |
Completed in 205 milliseconds