Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ValueAndCloser (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *     .transform((closer, result) -> result.get("userName"), directExecutor())
     *     .catching(DBException.class, e -> "no user", directExecutor())
     *     .finishToValueAndCloser(
     *         valueAndCloser -> this.userNameValueAndCloser = valueAndCloser, executor);
     *
     * // later
     * try { // get() will throw if the operation failed or was cancelled.
     *   UserName userName = userNameValueAndCloser.get();
     *   // do something with userName
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
Back to Top