Home
last modified time | relevance | path

Searched refs:entryTwo (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java455 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry() local
456 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo); in testNewEntry()
458 entryTwo.setValueReference(valueRefTwo); in testNewEntry()
460 assertSame(keyTwo, entryTwo.getKey()); in testNewEntry()
461 assertEquals(hashTwo, entryTwo.getHash()); in testNewEntry()
462 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
463 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
480 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testCopyEntry() local
481 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo)); in testCopyEntry()
483 MapMakerInternalMap.connectEvictables(entryOne, entryTwo); in testCopyEntry()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java898 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry() local
899 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo, 1); in testNewEntry()
901 entryTwo.setValueReference(valueRefTwo); in testNewEntry()
903 assertSame(keyTwo, entryTwo.getKey()); in testNewEntry()
904 assertEquals(hashTwo, entryTwo.getHash()); in testNewEntry()
905 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
906 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
923 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testCopyEntry() local
924 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1)); in testCopyEntry()
926 LocalCache.connectAccessOrder(entryOne, entryTwo); in testCopyEntry()
[all …]