- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 332 for setValue (0.08 seconds)
-
guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
filtered.put("b", 4); assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered); Entry<String, Integer> entry = filtered.entrySet().iterator().next(); assertThrows(IllegalArgumentException.class, () -> entry.setValue(5)); assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered); } public void testFilteredValuesClear() { Map<String, Integer> unfiltered = createUnfiltered(); unfiltered.put("one", 1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2"))); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue("one")); } public void testTransformRemoveEntry() { Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
* Returns a map view that associates each key with the corresponding values in the multimap. * Changes to the returned map, such as element removal, will update the underlying multimap. The * map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}. * * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the sameCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2"))); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue("one")); } public void testTransformRemoveEntry() { Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
@ParametricNullness K getKey(int index) { checkElementIndex(index, size); return (K) keys[index]; } int getValue(int index) { checkElementIndex(index, size); return values[index]; } void setValue(int index, int newValue) { checkElementIndex(index, size); values[index] = newValue; } Entry<K> getEntry(int index) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2"))); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue("one")); } public void testTransformRemoveEntry() { Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
ImmutableMap<String, String> map = ImmutableMap.copyOf(entryList); assertThat(map).containsExactly("a", "1", "b", "2").inOrder(); entryList.get(0).setValue("3"); assertThat(map).containsExactly("a", "1", "b", "2").inOrder(); } public void testBuilderPutAllEntryList() { List<Entry<String, String>> entryList =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
Object o22 = properties.get(KEY1); assertEquals(VALUE1, o22); for (Map.Entry<String, String> entry : properties.entrySet()) { entry.setValue(entry.getValue() + "x"); } Object o21 = properties.get(KEY1); assertEquals(VALUE1 + "x", o21); baos = new ByteArrayOutputStream(); properties.save(baos);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 16.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
return delegate().getKey(); } } @Override public V getValue() { synchronized (mutex) { return delegate().getValue(); } } @Override public V setValue(V value) { synchronized (mutex) { return delegate().setValue(value); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0)