Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTransformAsync (0.08 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

                        return input + 1;
                      }
                    },
                    directExecutor());
        assertThat(f.get()).isEqualTo(2);
      }
    
      public void testTransformAsync() throws Exception {
        FluentFuture<Integer> f =
            FluentFuture.from(immediateFuture(1))
                .transformAsync(
                    new AsyncFunction<Integer, Integer>() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top