Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValueAndCloser (0.17 sec)

  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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top