Skip to content
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

step1-라자냐 #5

Merged
merged 45 commits into from
Jan 5, 2021
Merged

step1-라자냐 #5

merged 45 commits into from
Jan 5, 2021

Conversation

wonhee009
Copy link

  • BankManager를 통해 Bank를 관리, Bank는 창구와 고객 대기열 가지고 있고, 창구에 은행원과 고객을 배치하도록 구현
  • 고객은 기다렸다가 창구에 배정 받고 업무가 끝나면 없어진다 생각해 Queue로 구현 (순서대로 배정 받으므로)
  • Double Extension에 Double 값 계산 오차를 줄이기 위한 메서드 구현
  • 실제 시간이 흐르도록 구현하고 싶어서 Timer 사용

AppleCEO pushed a commit that referenced this pull request Dec 28, 2021
- 실행 시 메뉴를 출력하는 printMenu 메서드 구현
- 사용자 입력값을 받는 receiveInput 메서드 구현
- 입력값에 따라 메뉴를 실행하는 runMenu 메서드 구현
- Namespace 생성
- LinkedList, Queue를 DataStructure 파일로 분리
kcharliek pushed a commit that referenced this pull request Dec 28, 2021
- printStartMessage() 메서드내 description 삭제
- StarterMessage 에서 사용하지 않는 케이스 삭제 (close 케이스)
kcharliek pushed a commit that referenced this pull request Dec 28, 2021
…ᅥᆼ하는 메서드를 연산 프로퍼티를 활용한 익스텐션으로 구현 #4, #5

- toDemical 프로퍼티 추가
kcharliek pushed a commit that referenced this pull request Dec 28, 2021
- doJob -> startJob 으로 수정
- startWork -> assignWork 으로 수정
kcharliek pushed a commit that referenced this pull request Dec 28, 2021
#8

- BankManager 내 reportResult() 메서드 추가
- BankManager의 메서드명 open() -> work() 변경
kcharliek pushed a commit that referenced this pull request Dec 28, 2021
- 기존에 열거형으로 나눠준 케이스를 각각의 함수 분리를 통해 구현
kcharliek pushed a commit that referenced this pull request Dec 28, 2021
- 리소스 낭비를 막기 위해
- DispatchGroup, asyncAfter() 메서드 활용
- Employee 타입에서 불필요해진 Extension 삭제
GREENOVER pushed a commit that referenced this pull request Dec 29, 2021
kcharliek pushed a commit that referenced this pull request Dec 31, 2021
#4, #5, #9

- BankWork에 requiredTime 프로퍼티 추가
- Employee의 bank 프로퍼티 제거
- Bank의 employee 프로퍼티 제거
- 파일 순서 정리
myssun0325 pushed a commit that referenced this pull request Jan 1, 2022
- LinkedList의 type argument T 에서 Element 으로 변경
- BankManager에서 Client 생성하는 메서드 main으로 위치 변경
myssun0325 pushed a commit that referenced this pull request Jan 1, 2022
- 기존에 있던 case를 loan, deposit으로 구체화
- 임의로 고객이 Task를 갖도록 generateClient 메서드 수정
- work 메서드에서 고객의 처리된 업무 이름 출력되도록 print문 수정
myssun0325 pushed a commit that referenced this pull request Jan 1, 2022
- loanClientQueue 추가
- depositClientQueue 추가
- loanClerkQueue 추가
- depositClerkQueue 추가
myssun0325 pushed a commit that referenced this pull request Jan 1, 2022
- LinkedList와 Queue에 있던 mutating 키워드 제외
- Bank에서 Queue의 구현을 변수에서 상수로 변경
myssun0325 pushed a commit that referenced this pull request Jan 1, 2022
- clerk이 대기하던 clerkQueue 제거
- clerk내부의 isAvailable을 제거
myssun0325 pushed a commit that referenced this pull request Jan 1, 2022
TTOzzi pushed a commit that referenced this pull request Apr 29, 2022
* group: LinkedList, Node, Queue를 DataModel로 그룹화

* feat: Customer 구현

* feat: BankClerk 구현

* group: Customer, BankClerk을 Model로 그룹화
jryoun1 pushed a commit that referenced this pull request Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants