- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for test_transform (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
.catchingAsync(Throwable.class, t -> immediateFuture(t.getClass()), directExecutor()); assertThat(f.get()).isEqualTo(CustomRuntimeException.class); } public void testTransform() throws Exception { FluentFuture<Integer> f = FluentFuture.from(immediateFuture(1)).transform(i -> i + 1, directExecutor()); assertThat(f.get()).isEqualTo(2); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
.catchingAsync(Throwable.class, t -> immediateFuture(t.getClass()), directExecutor()); assertThat(f.get()).isEqualTo(CustomRuntimeException.class); } public void testTransform() throws Exception { FluentFuture<Integer> f = FluentFuture.from(immediateFuture(1)).transform(i -> i + 1, directExecutor()); assertThat(f.get()).isEqualTo(2); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// Step 4's closeable is now closed. assertClosed(closeable4); // Step 3 still never ran, so its closeable should still be open. assertStillOpen(closeable3); } public void testTransform() throws Exception { ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value")) .transform( (DeferredCloser closer, String v) -> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// Step 4's closeable is now closed. assertClosed(closeable4); // Step 3 still never ran, so its closeable should still be open. assertStillOpen(closeable3); } public void testTransform() throws Exception { ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value")) .transform( (DeferredCloser closer, String v) -> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> iterator = list.iterator(); assertThat(tryFind(iterator, Predicates.alwaysFalse())).isAbsent(); assertFalse(iterator.hasNext()); } public void testTransform() { Iterator<String> input = asList("1", "2", "3").iterator(); Iterator<Integer> result = Iterators.transform( input, new Function<String, Integer>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0)