Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java416 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry() local
417 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne); in testNewEntry()
419 entryOne.setValueReference(valueRefOne); in testNewEntry()
421 assertSame(keyOne, entryOne.getKey()); in testNewEntry()
422 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
423 assertNull(entryOne.getNext()); in testNewEntry()
424 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
429 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry()
436 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
448 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry() local
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java929 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry() local
930 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1); in testNewEntry()
932 entryOne.setValueReference(valueRefOne); in testNewEntry()
934 assertSame(keyOne, entryOne.getKey()); in testNewEntry()
935 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
936 assertNull(entryOne.getNext()); in testNewEntry()
937 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
942 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry()
949 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
961 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry() local
[all …]