작성
·
385
0
void save(Member member);
Member findById(Long memberId);
@Override
public void save(Member member) {
store.put(member.getId(), member);
}
@Override
public Member findById(Long memberId) {
return store.get(memberId);
}
private final MemberRepository memberRepository = new MemoryMemberRepository();
private final MemoryMemberRepository memberRepository = new MemoryMemberRepository();
감사합니다 !