1. 영화 예매 시스템 구현하기 /** * 영화를 표현 * 제목, 상영시간, 기본요금, 할인정책을 가지고 있음 */ public class Movie { private String title; private Duration runningTime; private Money fee; private DiscountPolicy discountPolicy; public Movie(String title, Duration runningTime, Money fee, DiscountPolicy dIscountPolicy) { this.title = title; this.runningTime = runningTime; this.fee = fee; this.dIscountPolicy = dIscountPolicy; } p..
1. 티켓 판매 어플리케이션 구현 /** * 극장을 표현 * 판매원을 가지고 있음 */ public class Theater { private TicketSeller ticketSeller; public Theater(TicketSeller ticketSeller) { this.ticketSeller = ticketSeller; } public void enter(Audience audience) { if(audience.getBag().hasInvitation()) { Ticket ticket = ticketSeller.getTicketOffice().getTicket(); audience.getBag().setTicket(ticket); } else { Ticket ticket = ticketSell..
- Today
- Yesterday
- Effective JAVA
- Java
- 영속성
- JMeter
- jvm
- template method
- in-memory
- 부하테스트
- LAMBDA
- strategy
- 메인보드#asrock b650m #조립pc #후기이벤트
- 디자인패턴
- Serialize
- concurrency
- reactive stream
- object
- observable
- template
- reactive
- Serializable
- nosql
- exception
- jdk11
- Observer Pattern
- Design Pattern
- Redis
- gslb
- Concurrecy
- iterable
- Spring
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |