- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for inputFutures (0.05 seconds)
-
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
} private FutureCombiner<@Nullable Object> futureCombiner() { return allMustSucceed ? Futures.whenAllSucceed(inputFutures()) : Futures.whenAllComplete(inputFutures()); } private ImmutableList<FluentFuture<?>> inputFutures() { return FluentIterable.from(inputs) .<FluentFuture<?>>transform(future -> future.state.future) .toList(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
AsyncFunction<String, Integer> function = unused -> { throw error; }; SettableFuture<String> inputFuture = SettableFuture.create(); ListenableFuture<Integer> outputFuture = transformAsync(inputFuture, function, directExecutor()); inputFuture.set("value"); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(outputFuture));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
AsyncFunction<String, Integer> function = unused -> { throw error; }; SettableFuture<String> inputFuture = SettableFuture.create(); ListenableFuture<Integer> outputFuture = transformAsync(inputFuture, function, directExecutor()); inputFuture.set("value"); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(outputFuture));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)