- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for FUTURE (0.44 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
/** * Sets the result of this {@code Future} to match the supplied input {@code Future} once the * supplied {@code Future} is done, unless this {@code Future} has already been cancelled or set * (including "set asynchronously," defined below). * * <p>If the supplied future is {@linkplain #isDone done} when this method is called and the call
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 63.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFuture.java
/** * Sets the result of this {@code Future} to match the supplied input {@code Future} once the * supplied {@code Future} is done, unless this {@code Future} has already been cancelled or set * (including "set asynchronously," defined below). * * <p>If the supplied future is {@linkplain #isDone done} when this method is called and the call
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 62.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* completes. Cancelling the supplied future will also cancel the returned future, but cancelling * the returned future will have no effect on the supplied future. * * @since 15.0 */ public static <V extends @Nullable Object> ListenableFuture<V> nonCancellationPropagating( ListenableFuture<V> future) { if (future.isDone()) { return future; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 59.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Futures.java
* completes. Cancelling the supplied future will also cancel the returned future, but cancelling * the returned future will have no effect on the supplied future. * * @since 15.0 */ public static <V extends @Nullable Object> ListenableFuture<V> nonCancellationPropagating( ListenableFuture<V> future) { if (future.isDone()) { return future; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 64.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
} void assertThatFutureFailsWithException(Future<?> future) { try { getUninterruptibly(future); fail("Expected future to fail: " + future); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(exception); } } static void assertThatFutureBecomesCancelled(Future<?> future) throws ExecutionException { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
} void assertThatFutureFailsWithException(Future<?> future) { try { getUninterruptibly(future); fail("Expected future to fail: " + future); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(exception); } } static void assertThatFutureBecomesCancelled(Future<?> future) throws ExecutionException { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Sets.java
* asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}. * This method is not actually very useful and will likely be deprecated in the future. */ @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix. public static <E extends @Nullable Object> HashSet<E> newHashSet(E... elements) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 78.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* AsyncCacheLoader.asyncLoad}</a> must return a {@code CompletableFuture}. Users of Guava's {@link * com.google.common.util.concurrent.ListenableFuture} can adapt between the two {@code Future} * types by using <a href="https://github.com/lukas-krecan/future-converter#java8-guava">{@code * net.javacrumbs.futureconverter.java8guava.FutureConverter}</a>. * * <h2>More on {@code CacheBuilder}</h2> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 51.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}. * This method is not actually very useful and will likely be deprecated in the future. */ @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix. public static <E extends @Nullable Object> HashSet<E> newHashSet(E... elements) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 77.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
default: return fromEntries(comparator, false, entries, size); } } /** * Throws UnsupportedOperationException. A future version may support this operation. Then the * value for any given key will be the one that was last supplied in a {@code put} operation for * that key. * * @throws UnsupportedOperationException always
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 50.3K bytes - Viewed (0)