Lines Matching full:newfirst
975 ReferenceEntry<Object, Object> newFirst = segment.removeFromChain(entryThree, entryTwo);
976 assertSame(keyThree, newFirst.getKey());
977 assertSame(valueThree, newFirst.getValueReference().get());
978 assertEquals(hashThree, newFirst.getHash());
979 assertSame(entryOne, newFirst.getNext());
982 newFirst = segment.removeFromChain(entryThree, entryOne);
983 assertSame(keyTwo, newFirst.getKey());
984 assertSame(valueTwo, newFirst.getValueReference().get());
985 assertEquals(hashTwo, newFirst.getHash());
986 newFirst = newFirst.getNext();
987 assertSame(keyThree, newFirst.getKey());
988 assertSame(valueThree, newFirst.getValueReference().get());
989 assertEquals(hashThree, newFirst.getHash());
990 assertNull(newFirst.getNext());