Design pattern 4

Embed Size (px)

Citation preview

1. 1 lahuman.jabsiri.co.kr Design Pattern-4 Structural Design Pattern-1 Version 2015-03-04 [email protected] 2. 2 lahuman.jabsiri.co.kr Agenda Adapter Pattern Composite Pattern Proxy Pattern Flyweight Pattern Facade Pattern Bridge Pattern Decorator Pattern 3. 3 lahuman.jabsiri.co.kr Adapter Pattern-1 - What is Adapter Pattern? - (220V) (2V) 220V 2VAdapter 4. 4 lahuman.jabsiri.co.kr Adapter Pattern-2 - How can make? - Class Adapter Object Adapter : https://github.com/lahuman/study4DesignPattern/tree/master/StructuralDesignPatterns/src/kr/pe/lahuman/adapter 5. 5 lahuman.jabsiri.co.kr Composite Pattern-1 - What is Composite Pattern? - Composite Pattern Base Component Leaf Leaf Base Component Composite base Component (operation) 6. 6 lahuman.jabsiri.co.kr Composite Pattern-2 - How can make? - : , , : https://github.com/lahuman/study4DesignPattern/tree/master/StructuralDesignPatterns/src/kr/pe/lahuman/composite 7. 7 lahuman.jabsiri.co.kr Proxy Pattern-1 - What is Proxy Pattern? - Virtual Proxy Remote Proxy Protection Proxy Smart Reference 8. 8 lahuman.jabsiri.co.kr Proxy Pattern-2 - How can make? - : - - - Proxy : https://github.com/lahuman/study4DesignPattern/tree/master/StructuralDesignPatterns/src/kr/pe/lahuman/proxy 9. 9 lahuman.jabsiri.co.kr Flyweight Pattern-1 - What is Flyweight Pattern? - (POOL) 10. 10 lahuman.jabsiri.co.kr Flyweight Pattern-2 - How can make? - : - return flyweight factory - Shape Line Oval , Oval : https://github.com/lahuman/study4DesignPattern/tree/master/StructuralDesignPatterns/src/kr/pe/lahuman/flyweight 11. 11 lahuman.jabsiri.co.kr URL http://www.journaldev.com/1562/flyweight-pattern-in-java-example-tutorial http://www.oodesign.com/flyweight-pattern.html 12. 12 lahuman.jabsiri.co.kr All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License (unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy. . : http://www.slideshare.net/lahuman1 : http://lahuman.jabsiri.co.kr LibreOffice Templet .