Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ForwardingListenableFuture (0.17 seconds)

  1. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
     *
     * @since 23.0
     */
    @DoNotMock("Use FluentFuture.from(Futures.immediate*Future) or SettableFuture")
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        SettableFuture<Object> orig = SettableFuture.create();
        // unlike the above this indirection defeats the trivial cycle detection and causes a SOE
        orig.setFuture(
            new ForwardingListenableFuture<Object>() {
              @Override
              protected ListenableFuture<Object> delegate() {
                return orig;
              }
            });
        assertThat(orig.toString())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        SettableFuture<Object> orig = SettableFuture.create();
        // unlike the above this indirection defeats the trivial cycle detection and causes a SOE
        orig.setFuture(
            new ForwardingListenableFuture<Object>() {
              @Override
              protected ListenableFuture<Object> delegate() {
                return orig;
              }
            });
        assertThat(orig.toString())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Supplier;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Queues;
    import com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.InvocationTargetException;
    import java.time.Duration;
    import java.util.Collection;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
Back to Top