- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for immediateCancelledFuture (0.1 sec)
-
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) -
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) -
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)