- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,122 for Collection (0.07 seconds)
-
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()); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
* member of the given collection. It does not defensively copy the collection passed in, so * future changes to it will alter the behavior of the predicate. * * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection * helps prevent bugs. This approach doesn't block any potential users since it is always possibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* collection. If the specified collection is a {@link SortedSet} or a {@link PriorityQueue}, this * priority queue will be ordered according to the same ordering. Otherwise, this priority queue * will be ordered according to the {@linkplain Comparable natural ordering} of its elements. * * @param c the collection whose elements are to be placed into this priority queueCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 18.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
import static java.util.Arrays.asList; import static java.util.Collections.emptyMap; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Collection; import java.util.HashSet; import java.util.Iterator;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
import static java.util.Arrays.asList; import static java.util.Collections.emptyMap; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Collection; import java.util.HashSet; import java.util.Iterator;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
public void testEquals_shorterList() { Collection<E> fewerElements = getSampleElements(getNumElements() - 1); assertFalse( "Lists of different sizes should not be equal.", getList().equals(new ArrayList<E>(fewerElements))); } public void testEquals_longerList() { Collection<E> moreElements = getSampleElements(getNumElements() + 1); assertFalse(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java
Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray())); } @CollectionFeature.Require(KNOWN_ORDER) public void testStreamToArrayKnownOrder() { assertEquals(getOrderedElements(), asList(collection.stream().toArray())); } public void testStreamCount() { assertEquals(getNumElements(), collection.stream().count()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
import static java.util.Collections.emptyList; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multimap; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.junit.Ignore;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 5.3K bytes - Click Count (0)