- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testKeysWithNullKey (0.13 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
public void testKeysCountAbsentNullKey() { assertEquals(0, multimap().keys().count(null)); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testKeysWithNullKey() { resetContainer(mapEntry((K) null, v0()), mapEntry((K) null, v1()), mapEntry(k1(), v0())); Multiset<K> keys = multimap().keys(); assertEquals(2, keys.count(null)); assertEquals(1, keys.count(k1()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
public void testKeysCountAbsentNullKey() { assertEquals(0, multimap().keys().count(null)); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testKeysWithNullKey() { resetContainer(mapEntry((K) null, v0()), mapEntry((K) null, v1()), mapEntry(k1(), v0())); Multiset<K> keys = multimap().keys(); assertEquals(2, keys.count(null)); assertEquals(1, keys.count(k1()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0)