- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,727 for Collection (0.17 sec)
-
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
return new TreeSet<E>(contents); } }, UnmodifiableSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return Collections.unmodifiableSet(new HashSet<E>(contents)); } }, SynchronizedSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Mar 04 04:06:35 GMT 2022 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
} @Override public boolean addAll(Collection<? extends V> collection) { addAll(0, collection); return true; } @CanIgnoreReturnValue @Override public boolean addAll(int index, Collection<? extends V> elements) { checkNotNull(elements); checkPositionIndex(index, 0);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
} @Override public boolean addAll(Collection<? extends V> collection) { addAll(0, collection); return true; } @CanIgnoreReturnValue @Override public boolean addAll(int index, Collection<? extends V> elements) { checkNotNull(elements); checkPositionIndex(index, 0);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 6.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java
synchronized (collection) { // to allow Collections.synchronized* tests to pass Helpers.assertEqualIgnoringOrder( getSampleElements(), Arrays.asList(collection.stream().toArray())); } } @CollectionFeature.Require(KNOWN_ORDER) public void testStreamToArrayKnownOrder() { synchronized (collection) { // to allow Collections.synchronized* tests to pass
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven3ScopeManagerConfiguration.java
return result; } @Override public Collection<ResolutionScope> buildResolutionScopes(InternalScopeManager internalScopeManager) { Collection<DependencyScope> allDependencyScopes = internalScopeManager.getDependencyScopeUniverse(); Collection<DependencyScope> nonTransitiveDependencyScopes =
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
} protected Collection<Method> suppressForHashMap() { return Collections.emptySet(); } protected Collection<Method> suppressForHashtable() { return Collections.emptySet(); } protected Collection<Method> suppressForLinkedHashMap() { return Collections.emptySet(); } protected Collection<Method> suppressForTreeMapNatural() { return Collections.emptySet(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 17K bytes - Viewed (0) -
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>
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
} public void testCopyOf_collection_empty() { // "<String>" is required to work around a javac 1.5 bug. Collection<String> c = MinimalCollection.<String>of(); Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c); assertTrue(multiset.isEmpty()); } public void testCopyOf_collection_oneElement() { Collection<String> c = MinimalCollection.of("a");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
extends SetMultimap<K, V> { // Following Javadoc copied from Multimap. /** * Returns a collection view of all values associated with a key. If no mappings in the multimap * have the provided key, an empty collection is returned. * * <p>Changes to the returned collection will update the underlying multimap, and vice versa. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 5.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
assertTrue("removeIf(x -> true) should return true", collection.removeIf(x -> true)); expectContents(); } @CollectionFeature.Require({SUPPORTS_ITERATOR_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION}) @CollectionSize.Require(SEVERAL) public void testRemoveIfSomeMatchesConcurrentWithIteration() { try { Iterator<E> iterator = collection.iterator(); assertTrue(collection.removeIf(Predicate.isEqual(samples.e0())));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 4.1K bytes - Viewed (0)