GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WongMinHo/java-design-pattern: 📗 Java 23 种设计模式

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
abstract-factory-pattern
abstract-factory-pattern
 
 
adapter-pattern
adapter-pattern
 
 
bridge-pattern
bridge-pattern
 
 
builder-pattern
builder-pattern
 
 
chain-pattern
chain-pattern
 
 
command-pattern
command-pattern
 
 
composite-pattern
composite-pattern
 
 
decorator-pattern
decorator-pattern
 
 
facade-pattern
facade-pattern
 
 
factory-pattern
factory-pattern
 
 
flyweight-pattern
flyweight-pattern
 
 
interpreter-pattern
interpreter-pattern
 
 
iterator-pattern
iterator-pattern
 
 
mediator-pattern
mediator-pattern
 
 
memento-pattern
memento-pattern
 
 
observer-pattern
observer-pattern
 
 
prototype-pattern
prototype-pattern
 
 
proxy-pattern
proxy-pattern
 
 
singleton-pattern
singleton-pattern
 
 
state-pattern
state-pattern
 
 
strategy-pattern
strategy-pattern
 
 
template-pattern
template-pattern
 
 
visitor-pattern
visitor-pattern
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Design Pattern

设计模式(Design pattern)是一套被反复使用的、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了重用代码、让代码更容易被他人理解、保证代码可靠性。

设计模式分为三种类型,共23种:

创建型模式:

  • 1. 设计模式 工厂模式(Factory Pattern)

  • 2. 设计模式 抽象工厂模式(Abstract Factory Pattern)

  • 3. 设计模式 单例设计模式(Singleton Pattern)

  • 4. 设计模式 建造者模式(Builder Pattern)

  • 5. 设计模式 原型模式(Prototype Pattern)

结构型模式:

  • 6. 设计模式 适配器模式(Adapter Pattern)

  • 7. 设计模式 桥接模式(Bridge Pattern)

  • 8. 设计模式 装饰器模式(Decorator Pattern)

  • 9. 设计模式 组合模式(Composite Pattern)

  • 10. 设计模式 外观模式(Facade Pattern)

  • 11. 设计模式 享元模式(Flyweight Pattern)

  • 12. 设计模式 代理模式(Proxy Pattern)

行为型模式:

  • 13. 设计模式 解释器模式(Interpreter Pattern)

  • 14. 设计模式 状态模式(State Pattern)

  • 15. 设计模式 策略模式(Strategy Pattern)

  • 16. 设计模式 模版方法模式(Template Method Pattern)

  • 17. 设计模式 命令模式(Command Pattern)

  • 18. 设计模式 迭代器模式(Iterator Pattern)

  • 19. 设计模式 观察者模式(Observer Pattern)

  • 20. 设计模式 中介者模式(Mediator Pattern)

  • 21. 设计模式 备忘录模式(Memento Pattern)

  • 22. 设计模式 责任链模式(Chain of Responsibility Pattern)

  • 23. 设计模式 访问者模式(Visitor Pattern)

Source Code

  • Factory
  • Abstract Factory
  • Singleton
  • Builder
  • Prototype
  • Adapter
  • Bridge
  • Decorator
  • Composite
  • Facade
  • Flyweight
  • Proxy
  • Interpreter
  • State
  • Strategy
  • Template Method
  • Iterator
  • Observer
  • Mediator
  • Memento
  • Chain of Responsibility
  • Visitor

Reference

  • CSDN:张鸿洋
  • 菜鸟教程:设计模式

About

📗 Java 23 种设计模式

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.