# 程序包org.springframework.util.concurrent的分层结构

程序包分层结构:

- 所有程序包

## 类分层结构

- java.lang.Object
  - org.springframework.util.concurrent.CompletableToListenableFutureAdapter<T> (implements org.springframework.util.concurrent.ListenableFuture<T>)
  - org.springframework.util.concurrent.FutureAdapter<T,S> (implements java.util.concurrent.Future<V>)
    - org.springframework.util.concurrent.ListenableFutureAdapter<T,S> (implements org.springframework.util.concurrent.ListenableFuture<T>)
  - java.util.concurrent.FutureTask<V> (implements java.util.concurrent.RunnableFuture<V>)
    - org.springframework.util.concurrent.ListenableFutureTask<T> (implements org.springframework.util.concurrent.ListenableFuture<T>)
  - org.springframework.util.concurrent.ListenableFutureCallbackRegistry<T>
  - org.springframework.util.concurrent.SettableListenableFuture<T> (implements org.springframework.util.concurrent.ListenableFuture<T>)

## 接口分层结构

- org.springframework.util.concurrent.FailureCallback
  - org.springframework.util.concurrent.ListenableFutureCallback<T> (并 extends org.springframework.util.concurrent.SuccessCallback<T>)
- java.util.concurrent.Future<V>
  - org.springframework.util.concurrent.ListenableFuture<T>
- org.springframework.util.concurrent.SuccessCallback<T>
  - org.springframework.util.concurrent.ListenableFutureCallback<T> (并 extends org.springframework.util.concurrent.FailureCallback)