- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ValueAndCloser (0.07 sec)
-
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)