- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 746 for future (0.04 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
import static com.google.common.truth.Truth.assertThat; import static com.google.common.util.concurrent.Callables.returning; import static com.google.common.util.concurrent.Futures.getDone; import static com.google.common.util.concurrent.Futures.immediateFuture; import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
@GwtCompatible public enum MultimapFeature implements Feature<Multimap> { VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE; private final Set<Feature<? super Multimap>> implied; MultimapFeature(Feature<? super Multimap>... implied) { this.implied = copyToSet(implied); } @Override public Set<Feature<? super Multimap>> getImpliedFeatures() { return implied; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
* java.util.Collections#emptySet} */ NONE; private final Set<Feature<? super Collection>> implied; CollectionFeature(Feature<? super Collection>... implied) { this.implied = copyToSet(implied); } @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; } @Retention(RetentionPolicy.RUNTIME)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
} /** * To avoid infinite recursion, test suites with these marker features won't have derived suites * created for them. */ enum NoRecurse implements Feature<@Nullable Void> { SUBMAP, DESCENDING; @Override public Set<Feature<? super @Nullable Void>> getImpliedFeatures() { return emptySet(); } } /** * Creates a suite whose map has some elements filtered out of view.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java
.suppressing(parentBuilder.getSuppressedTests()) .createTestSuite(); } } @Override Set<Feature<?>> computeMultimapGetFeatures(Set<Feature<?>> multimapFeatures) { Set<Feature<?>> derivedFeatures = super.computeMultimapGetFeatures(multimapFeatures); if (derivedFeatures.contains(CollectionFeature.SUPPORTS_ADD)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
@GwtCompatible public class ConflictingRequirementsException extends Exception { private final Set<Feature<?>> conflicts; private final Object source; public ConflictingRequirementsException( String message, Set<Feature<?>> conflicts, Object source) { super(message); this.conflicts = conflicts; this.source = source; } public Set<Feature<?>> getConflicts() { return conflicts; } public Object getSource() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
String name = getName(); // Copy this set, so we can modify it. Set<Feature<?>> features = copyToSet(getFeatures()); @SuppressWarnings("rawtypes") // class literals List<Class<? extends AbstractTester>> testers = getTesters(); logger.fine(" Testing: " + name); // Split out all the specified sizes. Set<Feature<?>> sizesToTest = Helpers.copyToSet(CollectionSize.values()); sizesToTest.retainAll(features);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static com.google.common.util.concurrent.Futures.immediateFuture; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly; import static org.junit.Assert.assertThrows;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
@SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultisetFeature implements Feature<Multiset> { /** * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the * backing multiset. */ ENTRIES_ARE_VIEWS; @Override public Set<Feature<? super Multiset>> getImpliedFeatures() { return emptySet(); } @Retention(RetentionPolicy.RUNTIME)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* sample element is not in any collection */ ANY(ZERO, ONE, SEVERAL); private final Set<Feature<? super Collection>> implied; private final @Nullable Integer numElements; CollectionSize(int numElements) { this.implied = emptySet(); this.numElements = numElements; } CollectionSize(Feature<? super Collection>... implied) { // Keep the order here, so that PerCollectionSizeTestSuiteBuilder
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0)