- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for replaceValue (0.17 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} } protected final void expectReplacement(Entry<K, V> newEntry) { List<Entry<K, V>> expected = copyToList(getSampleElements()); replaceValue(expected, newEntry); expectContents(expected); } private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} } protected final void expectReplacement(Entry<K, V> newEntry) { List<Entry<K, V>> expected = copyToList(getSampleElements()); replaceValue(expected, newEntry); expectContents(expected); } private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
List<V> values = asList(v0(), null, v3()); multimap().replaceValues(k0(), values); assertGet(k0(), values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testReplaceValuesWithNullKey() { List<V> values = asList(v0(), v2(), v3()); multimap().replaceValues(null, values); assertGet(null, values); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
} /** Confirm that replaceValues() returns a List implementing RandomAccess. */ public void testReplaceValuesRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.replaceValues("foo", asList(2, 4)) instanceof RandomAccess); assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java
import com.google.common.collect.SetMultimap; import com.google.common.collect.testing.features.MapFeature; import java.util.List; import org.junit.Ignore; /** * Tests for {@link SetMultimap#replaceValues}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java
import com.google.common.collect.ListMultimap; import com.google.common.collect.testing.features.MapFeature; import java.util.List; import org.junit.Ignore; /** * Testers for {@link ListMultimap#replaceValues(Object, Iterable)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntrySetMultimap.java
} @Override public Set<V> removeAll(@Nullable Object key) { return (Set<V>) super.removeAll(key); } @Override public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return (Set<V>) super.replaceValues(key, values); } @Override Set<Entry<K, V>> createEntries() { return Sets.filter(unfiltered().entries(), entryPredicate()); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeySetMultimap.java
} @Override public Set<V> removeAll(@Nullable Object key) { return (Set<V>) super.removeAll(key); } @Override public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return (Set<V>) super.replaceValues(key, values); } @Override public Set<Entry<K, V>> entries() { return (Set<Entry<K, V>>) super.entries(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java
import com.google.common.collect.ListMultimap; import com.google.common.collect.testing.features.MapFeature; import java.util.List; import org.junit.Ignore; /** * Testers for {@link ListMultimap#replaceValues(Object, Iterable)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java
import com.google.common.collect.SetMultimap; import com.google.common.collect.testing.features.MapFeature; import java.util.List; import org.junit.Ignore; /** * Tests for {@link SetMultimap#replaceValues}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0)