- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 518 for setValue (0.06 sec)
-
guava/src/com/google/common/graph/MapIteratorCache.java
private final Map<K, V> backingMap; /* * Per JDK: "the behavior of a map entry is undefined if the backing map has been modified after * the entry was returned by the iterator, except through the setValue operation on the map entry" * As such, this field must be cleared before every map mutation. * * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0) -
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. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
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 entry if (Objects.equals(value, getValue())) { return value; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RoleTypeDbm.java
setupEpg(_epgMap, et -> ((RoleType) et).getUpdatedTime(), (et, vl) -> ((RoleType) et).setUpdatedTime(DfTypeUtil.toLong(vl)), "updatedTime"); setupEpg(_epgMap, et -> ((RoleType) et).getValue(), (et, vl) -> ((RoleType) et).setValue(DfTypeUtil.toString(vl)), "value"); } @Override public PropertyGateway findPropertyGateway(final String prop) { return doFindEpg(_epgMap, prop); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.1K bytes - Viewed (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. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (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(); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
.isSameInstanceAs(entry.getValue()); Object newKey = new Object(); assertThat(cache.asMap().putIfAbsent(newKey, entry.getValue())).isNull(); // this getUnchecked() call shouldn't be a cache miss; verified below assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue()); assertThat(cache.getUnchecked(newKey)).isEqualTo(entry.getValue()); // don't let the new entry get GCed
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return entry; } @Override @ParametricNullness public V setValue(@ParametricNullness V newValue) { checkArgument(apply(getKey(), newValue)); return super.setValue(newValue); } }; } }; } } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
return entry; } @Override @ParametricNullness public V setValue(@ParametricNullness V newValue) { checkArgument(apply(getKey(), newValue)); return super.setValue(newValue); } }; } }; } } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
for (Entry<K, V> entry : entrySet) { assertTrue(map.containsKey(entry.getKey())); assertTrue(map.containsValue(entry.getValue())); int expectedHash = (entry.getKey() == null ? 0 : entry.getKey().hashCode()) ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode()); assertEquals(expectedHash, entry.hashCode()); expectedEntrySetHash += expectedHash; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0)