- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 1,333 for Collections (0.04 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
import static com.google.common.collect.testing.testers.MapPutTester.getPutNullKeyUnsupportedMethod; import static java.util.Arrays.asList; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import junit.framework.Test; /** * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known * bugs in OpenJDK 6 or higher. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
/** * Returns an iterable whose iterator returns the given elements in order. The elements are copied * out of the source collection at the time this method is called. */ @SuppressWarnings("unchecked") // Es come in, Es go out public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) { return (MinimalIterable) of(elements.toArray()); } private @Nullable Iterator<E> iterator;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java
public static Test suite() { return new OpenJdk6ListTests().allTests(); } @Override protected Collection<Method> suppressForArraysAsList() { return asList(getToArrayIsPlainObjectArrayMethod()); } @Override protected Collection<Method> suppressForCheckedList() { return asList( CollectionAddTester.getAddNullSupportedMethod(), getAddSupportedNullPresentMethod(),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java
return new OpenJdk6SetTests().allTests(); } @Override protected Collection<Method> suppressForTreeSetNatural() { return asList( getAddNullUnsupportedMethod(), getAddAllNullUnsupportedMethod(), getCreateWithNullUnsupportedMethod()); } @Override protected Collection<Method> suppressForCheckedSet() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* they are returned by the iterable's iterator. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) { if (elements instanceof Collection) { return new ArrayDeque<>((Collection<? extends E>) elements); } ArrayDeque<E> deque = new ArrayDeque<>(); Iterables.addAll(deque, elements); return deque; } // ConcurrentLinkedQueue
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
} return this; } @Override public List<Profile> getActiveProfiles( Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems) { Collection<String> activatedIds = new HashSet<>(context.getActiveProfileIds()); Collection<String> deactivatedIds = new HashSet<>(context.getInactiveProfileIds());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
return Multimaps.filterEntries(unfiltered, PREDICATE); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { Multimap<String, Integer> multimap = createMultimap(); return multimap.asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Multimap<String, Integer> multimap = createMultimap(); populate(multimap);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 2.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java
class PathTranslatingPostProcessor implements InterpolationPostProcessor { private final Collection<String> unprefixedPathKeys; private final File projectDir; private final PathTranslator pathTranslator; private final List<String> expressionPrefixes; PathTranslatingPostProcessor( List<String> expressionPrefixes, Collection<String> unprefixedPathKeys, File projectDir,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
@CollectionFeature.Require(absent = KNOWN_ORDER) public void testSpliteratorUnknownOrder() { SpliteratorTester.of(collection::spliterator).expect(getSampleElements()); } @CollectionFeature.Require(KNOWN_ORDER) public void testSpliteratorKnownOrder() { SpliteratorTester.of(collection::spliterator).expect(getOrderedElements()).inOrder(); } @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.8K bytes - Viewed (0)