软件包 | 描述 |
---|---|
java.util.concurrent |
在并发编程中常用的实用类。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
Modifier and Type | Interface and Description |
---|---|
interface |
RunnableScheduledFuture<V>
这是一个
ScheduledFuture
Runnable 。
|
Modifier and Type | Class and Description |
---|---|
class |
FutureTask<V>
一个可以取消的异步计算。
|
Modifier and Type | Method and Description |
---|---|
protected <T> RunnableFuture<T> |
AbstractExecutorService.newTaskFor(Callable<T> callable)
返回给调用任务
RunnableFuture 。
|
protected <T> RunnableFuture<T> |
ForkJoinPool.newTaskFor(Callable<T> callable) |
protected <T> RunnableFuture<T> |
AbstractExecutorService.newTaskFor(Runnable runnable, T value)
返回一个
RunnableFuture 为给定的运行与默认值。
|
protected <T> RunnableFuture<T> |
ForkJoinPool.newTaskFor(Runnable runnable, T value) |
Modifier and Type | Class and Description |
---|---|
class |
SwingWorker<T,V>
在后台线程中执行冗长的图形用户界面交互任务的抽象类。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.