Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bear (0.12 sec)

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

        SettableFuture<Foo> f1 = SettableFuture.create();
        final SettableFuture<Bar> secondary = SettableFuture.create();
        AsyncFunction<Foo, Bar> function =
            new AsyncFunction<Foo, Bar>() {
              @Override
              public ListenableFuture<Bar> apply(Foo unused) {
                return secondary;
              }
            };
        ListenableFuture<Bar> f2 = transformAsync(f1, function, directExecutor());
        f1.cancel(true);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top