Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Web
- 자바
- Pattern
- Python
- db
- data
- error
- interface
- javascript
- framework
- Security
- Server
- java
- ai
- Deep
- learning
- SSH
- 인공지능
- Analysis
- git
- mariaDB
- DeepLearning
- Numpy
- Github
- LIST
- 함수
- mysql
- centos
- Spring
- Linux
Archives
- Today
- Total
목록디자인 (1)
PostIT
[Java/DesignPattern] Java Design Pattern Part1 - Factory Pattern
# [Java/DesignPattern] Java Design Pattern Part1 - Factory Pattern## 1. 내용Factory Pattern은 많이 사용되는 패턴 중에 하나입니다. Factory Pattern은 이름 그대로 객체를 생성하기 위한 패턴으로서 객체를 생성하기 위한 좋은 해결책을 가지고 있습니다. 특히, 객체를 만들기 위한 로직을 사용자에게 노출없이 객체를 만들 수 있게 만들며, 공통 인터페이스를 사용하여 새로운 객체를 쉽게 참조할 수 있습니다.## 2. 코드 구현Factory Pattern을 사용하여 이번에는 Store Interface를 구현하고 스토어 인터페이스를 구현하여 구체적인 Class를 만들어보겠습니다. [UML] 1. Create Interface - Stor..
Java/Design Pattern
2017. 7. 12. 11:55