| Package | Description |
|---|---|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RunnableScheduledFuture<V>
A
ScheduledFuture that is
Runnable.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FutureTask<V>
A cancellable asynchronous computation.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> RunnableFuture |
ForkJoinPool.newTaskFor(Callable
|
protected <T> RunnableFuture |
AbstractExecutorService.newTaskFor(Callable
Returns a
RunnableFuture for the given callable task.
|
protected <T> RunnableFuture |
ForkJoinPool.newTaskFor(Runnable
|
protected <T> RunnableFuture |
AbstractExecutorService.newTaskFor(Runnable
Returns a
RunnableFuture for the given runnable and default value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SwingWorker<T
An abstract class to perform lengthy GUI-interaction tasks in a background thread.
|