This project lists UML diagrams of the "Design Pattern Examples in Kotlin". When you click on a diagram image, the diagram will be opened in Diagram Map. If you want to know about Diagram Map, see this post.
Chain of Responsibility | Command | Interpreter |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Iterator | Mediator | Memento |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Observer | State | Strategy |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Template Method | Visitor | |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Abstract Factory | Builder | Factory Method |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Prototype | Singleton | |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Adapter | Bridge | Composite |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Decorator | Facade | Flyweight |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Kotlin Code Execution Result |
Proxy | ||
Kotlin Code Execution Result |
- Gamma, E. et al. Design Patterns: Elements of Reusable Object-Oriented Software, Addison-Wesley, 1994
- Hiroshi Yuki. Learning Design Patterns in Java [In Japanese Language], Softbank publishing, 2004
Diagram Map file (DiagramMap.html) includes the following libraries:
- D3 library is copyrighted by Mike Bostock and is released under the BSD license.
- Popper library is copyrighted by Federico Zivolo and is released under the MIT license.
- Tippy library is copyrighted by atomiks and is released under the MIT license.
Files and data in this project other than the above libraries are under the Creative Commons Zero (CC0) license.
C++, C#, Crystal, Go, Java, JavaScript, Python, Ruby, Scala, Swift, TypeScript