Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ForwardingFluentFuture (0.18 sec)

  1. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

     * forwards to that future and adds the desired methods.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ForwardingFluentFuture<V extends @Nullable Object> extends FluentFuture<V> {
      private final ListenableFuture<V> delegate;
    
      ForwardingFluentFuture(ListenableFuture<V> delegate) {
        this.delegate = checkNotNull(delegate);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

     * forwards to that future and adds the desired methods.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ForwardingFluentFuture<V extends @Nullable Object> extends FluentFuture<V> {
      private final ListenableFuture<V> delegate;
    
      ForwardingFluentFuture(ListenableFuture<V> delegate) {
        this.delegate = checkNotNull(delegate);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      @Override
      public boolean isCancelled() {
        return state.isCancelled();
      }
    
      @Override
      public boolean isDone() {
        return state.isDone();
      }
    
      /*
       * ForwardingFluentFuture needs to override those methods, so they are not final.
       */
      @CanIgnoreReturnValue
      @Override
      public V get() throws InterruptedException, ExecutionException {
        state.maybeThrowOnGet(throwable);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/FluentFuture.java

       */
      public static <V extends @Nullable Object> FluentFuture<V> from(ListenableFuture<V> future) {
        return future instanceof FluentFuture
            ? (FluentFuture<V>) future
            : new ForwardingFluentFuture<V>(future);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 28.0
       */
      @Deprecated
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top