- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 75 for newValue1 (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/HashBiMap.java
*/ private void replaceValueInEntry(int entry, @ParametricNullness V newValue, boolean force) { checkArgument(entry != ABSENT); int newValueHash = smearedHash(newValue); int newValueIndex = findEntryByValue(newValue, newValueHash); if (newValueIndex != ABSENT) { if (force) { removeEntryValueHashKnown(newValueIndex, newValueHash);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0) -
android/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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Striped64.java
* * @param currentValue the current value (of either base or a cell) * @param newValue the argument from a user update call * @return result of the update function */ abstract long fn(long currentValue, long newValue); /** * Handles cases of updates involving initialization, resizing, creating new Cells, and/or
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Striped64.java
* * @param currentValue the current value (of either base or a cell) * @param newValue the argument from a user update call * @return result of the update function */ abstract long fn(long currentValue, long newValue); /** * Handles cases of updates involving initialization, resizing, creating new Cells, and/or
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) { if (replica.containsKey(newValue)) { replica.get(newValue).incrementAndGet(); } else { replica.put(newValue, new AtomicInteger(1)); } } private static void removeMinFromReplica( SortedMap<Integer, AtomicInteger> replica, int minValue) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (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); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.7K bytes - Click Count (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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.7K bytes - Click Count (0)