- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for newValue (0.1 sec)
-
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
V value = localCache.get(key); if (value != null) { return value; } try { V newValue = valueLoader.call(); localCache.put(key, newValue); return newValue; } catch (Exception e) { throw new ExecutionException(e); } } @Override public @Nullable V getIfPresent(Object key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
.apply { for (i in 0 until url.querySize) { val parameterName = url.queryParameterName(i) val newValue = if (parameterName in queryParamsNameToRedact) "██" else url.queryParameterValue(i) addEncodedQueryParameter(parameterName, newValue) } }.toString() } private fun logHeader( headers: Headers, i: Int, ) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* * @param key the key under which to store the session data, must not be {@code null} * @param oldValue the expected data currently associated with the key, may be {@code null} * @param newValue the data to associate with the key, may be {@code null} to remove the mapping * @return {@code true} if the key mapping was successfully updated from the old value to the new value,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
*/ private void replaceValueInEntry(int entry, @ParametricNullness V newValue, boolean force) { checkArgument(entry != ABSENT); int newValueHash = Hashing.smearedHash(newValue); int newValueIndex = findEntryByValue(newValue, newValueHash); if (newValueIndex != ABSENT) { if (force) { removeEntryValueHashKnown(newValueIndex, newValueHash);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
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) { checkElementIndex(index, size); return new MapEntry(index); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
@CollectionSize.Require(absent = ZERO) public void testComputeIfAbsent_nullTreatedAsAbsent() { initMapWithNullValue(); assertEquals( "computeIfAbsent(presentAssignedToNull, function) should return newValue", getValueForNullKey(), getMap() .computeIfAbsent( getKeyForNullValue(), k -> { assertEquals(getKeyForNullValue(), k);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 11:21:39 UTC 2025 - 99.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
@CollectionSize.Require(absent = ZERO) public void testComputeIfAbsent_nullTreatedAsAbsent() { initMapWithNullValue(); assertEquals( "computeIfAbsent(presentAssignedToNull, function) should return newValue", getValueForNullKey(), getMap() .computeIfAbsent( getKeyForNullValue(), k -> { assertEquals(getKeyForNullValue(), k);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
} @CanIgnoreReturnValue @Override public boolean replace(K key, @Nullable V oldValue, V newValue) { checkNotNull(key); checkNotNull(newValue); if (oldValue == null) { return false; } int hash = hash(key); return segmentFor(hash).replace(key, hash, oldValue, newValue); } @CanIgnoreReturnValue @Override public @Nullable V replace(K key, V value) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 89.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
@ParametricNullness K key, boolean containedKey, @Nullable V oldValue, @ParametricNullness V newValue) { if (containedKey) { // The cast is safe because of the containedKey check. removeFromInverseMap(uncheckedCastNullableTToT(oldValue)); } inverse.delegate.put(newValue, key); } @CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 14.3K bytes - Viewed (0)