- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for AsMap (0.19 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testAsMapValuesImplementSet() { for (Collection<V> valueCollection : multimap().asMap().values()) { assertTrue(valueCollection instanceof Set); } } public void testAsMapGetImplementsSet() { for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof Set); } } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
public void testAsMapValuesImplementList() { for (Collection<V> valueCollection : multimap().asMap().values()) { assertTrue(valueCollection instanceof List); } } public void testAsMapGetImplementsList() { for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof List); } } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
public void testAsMapValuesImplementList() { for (Collection<V> valueCollection : multimap().asMap().values()) { assertTrue(valueCollection instanceof List); } } public void testAsMapGetImplementsList() { for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof List); } } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testAsMapValuesImplementSet() { for (Collection<V> valueCollection : multimap().asMap().values()) { assertTrue(valueCollection instanceof Set); } } public void testAsMapGetImplementsSet() { for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof Set); } } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableMultimapAsMapImplementsMapTest.java
return Multimaps.unmodifiableMultimap(LinkedHashMultimap.<String, Integer>create()).asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Multimap<String, Integer> delegate = LinkedHashMultimap.create(); populate(delegate); return Multimaps.unmodifiableMultimap(delegate).asMap(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.6K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}") request.read(ByteBuffer.allocateDirect(4096 * 8)) } override fun onReadCompleted( request: UrlRequest, info: UrlResponseInfo, byteBuffer: ByteBuffer, ) { println("onReadCompleted ${info.headers.asMap}") byteBuffer.flip()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/AbstractAttributeContainer.java
* {@link #hashCode} and {@link #equals}. */ public abstract class AbstractAttributeContainer implements AttributeContainerInternal { @Override public Map<Attribute<?>, ?> asMap() { return asImmutable().asMap(); } @Override public boolean isEmpty() { return keySet().isEmpty(); } @Override public boolean contains(Attribute<?> key) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
assertEqualInOrder(values, multimap().get(key)); if (!values.isEmpty()) { assertEqualInOrder(values, multimap().asMap().get(key)); assertFalse(multimap().isEmpty()); } else { assertNull(multimap().asMap().get(key)); } assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue())); size++; } assertEquals(expectedSize, size); int size2 = 0; for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) { size2 += entry2.getValue().size(); } assertEquals(expectedSize, size2); } @CollectionSize.Require(ZERO) public void testIsEmptyYes() { assertTrue(multimap().isEmpty());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
for (int i = 0; i < 3; i++) { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> expectedValues = copyToList(values); List<V> asMapValue = (List<V>) multimap().asMap().get(k0()); asMapValue.remove(i); expectedValues.remove(i); assertGet(k0(), expectedValues); } } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 3.6K bytes - Viewed (0)