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<T> |
ForkJoinPool.newTaskFor(Callable<T> callable) |
protected <T> RunnableFuture<T> |
AbstractExecutorService.newTaskFor(Callable<T> callable)
Returns a
RunnableFuture for the given callable task. |
protected <T> RunnableFuture<T> |
ForkJoinPool.newTaskFor(Runnable runnable,
T value) |
protected <T> RunnableFuture<T> |
AbstractExecutorService.newTaskFor(Runnable runnable,
T value)
Returns a
RunnableFuture for the given runnable and default
value. |
Modifier and Type | Class and Description |
---|---|
class |
SwingWorker<T,V>
An abstract class to perform lengthy GUI-interaction tasks in a
background thread.
|
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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.