- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,124 for Collection (0.05 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
} return derivedSuites; } private static final class ReserializedSetGenerator<E> implements TestSetGenerator<E> { final OneSizeTestContainerGenerator<Collection<E>, E> gen; private ReserializedSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { this.gen = gen; } @Override public SampleElements<E> samples() { return gen.samples(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
@SuppressWarnings("unchecked") V[] valuesArray = (V[]) elements; // Start with a suitably shaped collection of entries Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length); // Create a copy of that, with the desired value for each value Collection<Entry<K, V>> entries = new ArrayList<>(elements.length); int i = 0; for (Entry<K, V> entry : originalEntries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.8K bytes - Viewed (2) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
suite.addTest(testsForVector()); return suite; } protected Collection<Method> suppressForEmptyList() { return emptySet(); } protected Collection<Method> suppressForSingletonList() { return emptySet(); } protected Collection<Method> suppressForArraysAsList() { return emptySet(); } protected Collection<Method> suppressForArrayList() { return emptySet(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 15:04:05 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
public void testForEachUnknownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements); } @CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); List<E> expected = Helpers.copyToList(getOrderedElements());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
return MinimalCollection.of(e3(), e4()); } protected int getNumEntries() { return getNumElements(); } protected Collection<Entry<K, V>> getSampleEntries(int howMany) { return getSampleElements(howMany); } protected Collection<Entry<K, V>> getSampleEntries() { return getSampleElements(); } @Override protected void expectMissing(Entry<K, V>... entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
while (entryIterator.hasNext()) { Entry<K, Collection<V>> entry = entryIterator.next(); K key = entry.getKey(); Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key)); if (!collection.isEmpty() && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) { if (collection.size() == entry.getValue().size()) { entryIterator.remove(); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
*/ public static boolean elementsEqual(Iterable<?> iterable1, Iterable<?> iterable2) { if (iterable1 instanceof Collection && iterable2 instanceof Collection) { Collection<?> collection1 = (Collection<?>) iterable1; Collection<?> collection2 = (Collection<?>) iterable2; if (collection1.size() != collection2.size()) { return false; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
src/arena/arena.go
//go:build goexperiment.arenas /* The arena package provides the ability to allocate memory for a collection of Go values and free that space manually all at once, safely. The purpose of this functionality is to improve efficiency: manually freeing memory before a garbage collection delays that cycle. Less frequent cycles means the CPU cost of the garbage collector is incurred less frequently.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
/** * Base class for all maven exceptions carrying {@link BuilderProblem}s. * * @since 4.0.0 */ @Experimental public abstract class MavenBuilderException extends MavenException { /** * The collection of problems associated with this exception. */ private final ProblemCollector<BuilderProblem> problems; /** * Constructs a new exception with the specified message and cause.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* words, for the default {@code expectContents()} implementation, the number of occurrences of * each given element has increased by one since the test collection was created, and the number * of occurrences of all other elements has not changed. * * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code * Set}: * * <pre>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0)