- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,122 for Collection (0.05 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testEntrySetEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> expected = new HashSet<>(); expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3()))); expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0()))); new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/package-info.java
* limitations under the License. */ /** * Collection interfaces and implementations, and other utilities for collections. This package is a * part of the open-source <a href="https://github.com/google/guava">Guava</a> library. * * <p>The classes in this package include: * * <h2>Immutable collections</h2> * * These are collections whose contents will never change. They also offer a few additional
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java
} } } @Override public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) { return Collections.emptyList(); } @Override public Artifact transformArtifact(Artifact artifact) { return artifact; } @Override public Collection<? extends Metadata> finish(Collection<? extends Artifact> artifacts) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultimap.java
} @Override public boolean containsValue(@Nullable Object value) { return delegate().containsValue(value); } @Override public Collection<Entry<K, V>> entries() { return delegate().entries(); } @Override public Collection<V> get(@ParametricNullness K key) { return delegate().get(key); } @Override public boolean isEmpty() { return delegate().isEmpty(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultimap.java
} @Override public boolean containsValue(@Nullable Object value) { return delegate().containsValue(value); } @Override public Collection<Entry<K, V>> entries() { return delegate().entries(); } @Override public Collection<V> get(@ParametricNullness K key) { return delegate().get(key); } @Override public boolean isEmpty() { return delegate().isEmpty(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
return delegate.contains(object); } @Override public boolean containsAll(Collection<?> collection) { if (collection instanceof ImmutableEnumSet<?>) { collection = ((ImmutableEnumSet<?>) collection).delegate; } return delegate.containsAll(collection); } @Override public boolean isEmpty() { return delegate.isEmpty(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCopyOf_shortcut_empty() { Collection<String> c = ImmutableList.of(); assertSame(c, ImmutableList.copyOf(c)); } public void testCopyOf_shortcut_singleton() { Collection<String> c = ImmutableList.of("a"); assertSame(c, ImmutableList.copyOf(c)); } public void testCopyOf_shortcut_immutableList() { Collection<String> c = ImmutableList.of("a", "b", "c");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 23.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
"containsAll(sameElements) should return true", collection.containsAll(MinimalCollection.of(createSamplesArray()))); } @SuppressWarnings("ModifyingCollectionWithItself") public void testContainsAll_self() { assertTrue("containsAll(this) should return true", collection.containsAll(collection)); } public void testContainsAll_partialOverlap() { assertFalse(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
checkNotNull(collection); return (collection instanceof EnumSet) ? EnumSet.complementOf((EnumSet<E>) collection) : makeComplementByHand(collection, type); } @J2ktIncompatible @GwtIncompatible private static <E extends Enum<E>> EnumSet<E> makeComplementByHand( Collection<E> collection, Class<E> type) { EnumSet<E> result = EnumSet.allOf(type);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0)