- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 124 for setValue1 (0.17 seconds)
-
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
CompactHashMap<Integer, String> map = CompactHashMap.create(); map.put(1, "1"); Entry<Integer, String> entry = getOnlyElement(map.entrySet()); map.remove(1); entry.setValue("one"); assertThat(map).containsEntry(1, "one"); } public void testAllocArraysDefault() { CompactHashMap<Integer, String> map = CompactHashMap.create(); assertThat(map.needsAllocArrays()).isTrue();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
@SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null); fail("setValue on unmodifiable Map.Entry succeeded"); } catch (UnsupportedOperationException expected) { } } /** * Verifies that an Iterator is unmodifiable. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoParamDbm.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
// Expected. } assertInvariants(map); } public void testEntrySetSetValue() { // TODO: Investigate the extent to which, in practice, maps that support // put() also support Entry.setValue(). if (!supportsPut) { return; } Map<K, V> map; V valueToSet; try { map = makePopulatedMap(); valueToSet = getValueNotInPopulatedMap();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/PropertyDesc.java
* * @param target * the target object. Must not be {@literal null} * @param value * the value to set to the property */ void setValue(Object target, Object value); /** * Converts the value to the appropriate type if necessary based on the property type. * * @param <T> * the converted typeCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
cache.invalidate(1); assertThat(cache.size()).isEqualTo(0); entry.setValue(3); assertThat(cache.size()).isEqualTo(1); assertThat(cache.getIfPresent(1)).isEqualTo(3); checkValidState(cache); assertThrows(NullPointerException.class, () -> entry.setValue(null)); checkValidState(cache); } } /* ---------------- Local utilities -------------- */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
BiMapEntry(Entry<K, V> delegate) { this.delegate = delegate; } @Override protected Entry<K, V> delegate() { return delegate; } @Override public V setValue(V value) { checkValue(value); // Preconditions keep the map and inverse consistent. checkState(entrySet().contains(this), "entry no longer in map"); // similar to putInBothMaps, but set via entryCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
String org, val; // Content org = dom.getValue(); val = interpolate(org); if (org != val) { dom.setValue(val); } // Attributes for (String attr : dom.getAttributeNames()) { org = dom.getAttribute(attr); val = interpolate(org);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 43.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsLabelType.java
this.updatedTime = value; } public String getValue() { checkSpecifiedProperty("value"); return convertEmptyToNull(value); } public void setValue(String value) { registerModifiedProperty("value"); this.value = value; } public String getVirtualHost() { checkSpecifiedProperty("virtualHost");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
this.delegate = checkNotNull(delegate); } @Override protected Entry<K, V> delegate() { return delegate; } @Override @ParametricNullness public V setValue(@ParametricNullness V value) { throw new UnsupportedOperationException(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 5.7K bytes - Click Count (0)