Skip to content

Commit

Permalink
기능 구현체 만들기
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoochanhong committed Mar 19, 2023
1 parent e7a605f commit 2eeaff4
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package com.example.MemberManagementExample.repository;

import com.example.MemberManagementExample.domain.Member;

import java.util.List;
import java.util.Optional;

public class MemoryMemberRepository implements MemberRepository {

@Override
public Member save(Member member) {
return null;
}

@Override
public Optional<Member> findById(Long id) {
return Optional.empty();
}

@Override
public Optional<Member> findByName(String name) {
return Optional.empty();
}

@Override
public List<Member> findAll() {
return null;
}
}

0 comments on commit 2eeaff4

Please sign in to comment.