接口的使用
java.util.concurrent.RunnableFuture
使用 RunnableFuture 的包
-
RunnableFuture 在 java.util.concurrent 中的用法
java.util.concurrent 中返回 RunnableFuture 的方法修饰符和类型方法描述protected <T> RunnableFuture<T>AbstractExecutorService.newTaskFor(Runnable runnable, T value) 为给定的可运行和默认值返回一个RunnableFuture。protected <T> RunnableFuture<T>AbstractExecutorService.newTaskFor(Callable<T> callable) 为给定的可调用任务返回一个RunnableFuture。 -
RunnableFuture 在 javax.swing 中的用法
javax.swing 中实现 RunnableFuture 的类