- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,482 for collection (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> { protected final Multiset<E> getMultiset() { return (Multiset<E>) collection; } protected void initThreeCopies() { collection = getSubjectGenerator().create(e0(), e0(), e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSet.java
* * @since 7.0 (this version overrides the {@code ForwardingCollection} version as of 12.0) */ @Override protected boolean standardRemoveAll(Collection<?> collection) { return Sets.removeAllImpl(this, checkNotNull(collection)); // for GWT } /** * A sensible definition of {@link #equals} in terms of {@link #size} and {@link #containsAll}. If
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
* half of that is more awkward to arrange... */ private static <T> Iterable<T> iterable(Collection<T> collection) { // return collection::iterator; return new Iterable<T>() { @Override public Iterator<T> iterator() { return collection.iterator(); } }; } public void testEquals() { new EqualsTester()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Collection; /** * Implementation of {@link ImmutableListMultimap} with no entries. * * @author Jared Levy */ @GwtCompatible final class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* collection in unspecified order. * * @param collection the elements that the set should contain * @return a new {@code CompactHashSet} containing those elements (minus duplicates) */ public static <E extends @Nullable Object> CompactHashSet<E> create( Collection<? extends E> collection) { CompactHashSet<E> set = createWithExpectedSize(collection.size()); set.addAll(collection);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
public boolean containsAll(Collection<?> c) { return map.entrySet().containsAll(c); } @Override public boolean removeAll(Collection<?> c) { return map.entrySet().removeAll(c); } @Override public boolean retainAll(Collection<?> c) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", collection.isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", collection.isEmpty()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
import javax.inject.Named; import javax.inject.Singleton; import java.io.FileNotFoundException; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.artifact.Artifact; import org.eclipse.aether.impl.ArtifactResolver;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
public void testForEachUnknownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); assertEqualIgnoringOrder(asList(createSamplesArray()), elements); } @CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); List<E> expected = copyToList(getOrderedElements());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.2K bytes - Viewed (0)