-
Notifications
You must be signed in to change notification settings - Fork 1.1k
4단계 - 로또(수동) #4236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
username0w
wants to merge
16
commits into
next-step:username0w
Choose a base branch
from
username0w:step4
base: username0w
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
4단계 - 로또(수동) #4236
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
dd8555e
docs: 수동 번호 관련 요구사항 추가
username0w 456cc9d
feat: 문자열 리스트로 수동 Lottos 생성하는 메서드 추가
username0w 49cf45f
feat: 수동 자동을 합치기 위한 merge 메서드 추가
username0w ca456e5
feat: 수동 입력 처리 및 로직 개선
username0w cb79cd6
feat: 수동, 자동 로또 출력 형식 개선
username0w fa8b67b
feat: 입력/출력 형식 및 메서드 개선
username0w 0a3f5e6
refactor: 캐싱에 Map 사용
username0w 91ff04e
refactor: rank 비교를 직접 연산자 대신 메서드로 처리
username0w 5c88ab7
feat: 수동 구매 수량 객체 추가
username0w 225ec41
feat: ManualLottoCount 도입
username0w f9454ab
feat: 음수 입력 예외 추가
username0w 1cedd9d
feat: 로또 번호 중복 시 예외 처리
username0w 7da001c
feat: 재입력 처리 로직 추가
username0w 6e21790
refactor: 예외 메시지 상수화
username0w 642f982
feat: LottosGenerator 인터페이스 도입 및 Auto/Manual 구현체 추가
username0w 01f26c6
refactor: LottoApplication에서 LottosGenerator 적용
username0w File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이와 같이 인터페이스를 구현하고, 구현체가 서로 연결되어 있는 경우 아래와 같은 구현체를 통해 구현체를 통합할 수 있음.
보통 디자인 패턴에서 컴포지트 패턴으로 알려져 있음.
아래와 같은 객체 추가에 따른 효과를 느껴 봤으면 하는 바람으로 피드백 남겨봄.