- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 28 for sampleKeys (0.06 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllHandlesDuplicates() { List<V> valuesToPut = asList(v0(), v1(), v0()); for (K k : sampleKeys()) { resetContainer(); Set<V> expectedValues = copyToSet(multimap().get(k)); multimap().putAll(k, valuesToPut); expectedValues.addAll(valuesToPut); assertGet(k, expectedValues);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
extends TestContainerGenerator<M, Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length); SampleElements<K> sampleKeys(); SampleElements<V> sampleValues(); Collection<V> createCollection(Iterable<? extends V> values);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
extends TestContainerGenerator<M, Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length); SampleElements<K> sampleKeys(); SampleElements<V> sampleValues(); Collection<V> createCollection(Iterable<? extends V> values);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java
@MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesPreservesOrder() { List<V> values = asList(v3(), v1(), v4()); for (K k : sampleKeys()) { resetContainer(); multimap().replaceValues(k, values); assertGet(k, values); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllHandlesDuplicates() { List<V> valuesToPut = asList(v0(), v1(), v0()); for (K k : sampleKeys()) { resetContainer(); Set<V> expectedValues = copyToSet(multimap().get(k)); multimap().putAll(k, valuesToPut); expectedValues.addAll(valuesToPut); assertGet(k, expectedValues);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java
@MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesHandlesDuplicates() { List<V> values = asList(v0(), v1(), v0()); for (K k : sampleKeys()) { resetContainer(); multimap().replaceValues(k, values); assertGet(k, v0(), v1()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
// MultimapPutTester tests non-duplicate values, but ignores ordering @MapFeature.Require(SUPPORTS_PUT) public void testPutAddsValueAtEnd() { for (K key : sampleKeys()) { for (V value : sampleValues()) { resetContainer(); List<V> values = multimap().get(key); List<V> expectedValues = copyToList(values);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java
} public void testContainsEntryNo() { assertFalse(multimap().containsEntry(k3(), v3())); } public void testContainsEntryAgreesWithGet() { for (K k : sampleKeys()) { for (V v : sampleValues()) { assertEquals(multimap().get(k).contains(v), multimap().containsEntry(k, v)); } } } @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 3.1K bytes - Viewed (0)