Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TrustedFuture (0.07 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

       * any of the public methods of ListenableFuture.
       */
      interface Trusted<V extends @Nullable Object> extends ListenableFuture<V> {}
    
      abstract static class TrustedFuture<V extends @Nullable Object> extends AbstractFuture<V>
          implements Trusted<V> {
        @CanIgnoreReturnValue
        @Override
        public final V get() throws InterruptedException, ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    })
    abstract class AbstractTransformFuture<
            I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
        extends FluentFuture.TrustedFuture<O> implements Runnable {
      static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> createAsync(
          ListenableFuture<I> input,
          AsyncFunction<? super I, ? extends O> function,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      @Override
      final void addInitialException(Set<Throwable> seen) {
        checkNotNull(seen);
        if (!isCancelled()) {
          /*
           * requireNonNull is safe because:
           *
           * - This is a TrustedFuture, so tryInternalFastPathGetFailure will in fact return the failure
           *   cause if this Future has failed.
           *
           * - And this future *has* failed: This method is called only from handleException (through
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/FluentFuture.java

      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
          implements AbstractFuture.Trusted<V> {
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          }
        }
    
        @J2ktIncompatible
        @GwtIncompatible // TODO
        private static final class NeverSuccessfulListenableFutureTask
            extends AbstractFuture.TrustedFuture<@Nullable Void> implements Runnable {
          private final Runnable delegate;
    
          public NeverSuccessfulListenableFutureTask(Runnable delegate) {
            this.delegate = checkNotNull(delegate);
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top