Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ImmediateCancelledFuture (0.52 sec)

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

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.util.concurrent.Futures.immediateCancelledFuture;
    import static com.google.common.util.concurrent.Internal.toNanosSaturated;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       */
      @SuppressWarnings("unchecked") // ImmediateCancelledFuture can work with any type
      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Futures.java

       */
      @SuppressWarnings("unchecked") // ImmediateCancelledFuture can work with any type
      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
Back to top