- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for NewEntry (2.66 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} } protected final void expectReplacement(Entry<K, V> newEntry) { List<Entry<K, V>> expected = copyToList(getSampleElements()); replaceValue(expected, newEntry); expectContents(expected); } private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_nullKeySupportedPresent() { Entry<K, V> newEntry = entry(null, v3()); initMapWithNullKey(); assertEquals( "put(present, value) should return the associated value", getValueForNullKey(), put(newEntry)); Entry<K, V>[] expected = createArrayWithNullKey(); expected[getNullLocation()] = newEntry; expectContents(expected); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
if (entry.matchesValue(value, smearedHash)) { return false; } } ValueEntry<K, V> newEntry = new ValueEntry<>(key, value, smearedHash, rowHead); appendToValueSet(newEntry); multimapIterationChain.append(newEntry); hashTable[bucket] = newEntry; size++; modCount++; rehashIfNecessary(); return true; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} } protected final void expectReplacement(Entry<K, V> newEntry) { List<Entry<K, V>> expected = copyToList(getSampleElements()); replaceValue(expected, newEntry); expectContents(expected); } private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_nullKeySupportedPresent() { Entry<K, V> newEntry = entry(null, v3()); initMapWithNullKey(); assertEquals( "put(present, value) should return the associated value", getValueForNullKey(), put(newEntry)); Entry<K, V>[] expected = createArrayWithNullKey(); expected[getNullLocation()] = newEntry; expectContents(expected); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Entry<Object, Object> newEntry = warmed.get(i - WARMUP_MIN); assertTrue(entries.contains(newEntry)); assertTrue(entries.remove(newEntry)); assertFalse(entries.remove(newEntry)); assertFalse(entries.contains(newEntry)); } checkEmpty(entries); checkEmpty(cache); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
if (Segment.isCollected(entry)) { return null; } StrongKeyWeakValueEntry<K, V> newEntry = newEntry(segment, entry.key, entry.hash, newNext); newEntry.valueReference = entry.valueReference.copyFor(segment.queueForValues, newEntry); return newEntry; } @Override public void setValue(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
} ImmutableMapEntry<K, V> newEntry = (nextInValueBucket == null && nextInKeyBucket == null) ? RegularImmutableMap.makeImmutable(entry, key, value) : new NonTerminalImmutableBiMapEntry<>( key, value, nextInKeyBucket, nextInValueBucket); keyTable[keyBucket] = newEntry; valueTable[valueBucket] = newEntry; entries[i] = newEntry;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Entry<Object, Object> newEntry = warmed.get(i - WARMUP_MIN); assertTrue(entries.contains(newEntry)); assertTrue(entries.remove(newEntry)); assertFalse(entries.remove(newEntry)); assertFalse(entries.contains(newEntry)); } checkEmpty(entries); checkEmpty(cache); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0)