Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design-Pattern-Java

代码规范

  • 类名: UpperCamelCase

  • 方法名: lowerCamelCase

  • 常量: CONSTANT_CASE

  • 非常量: lowerCamelCase

  • 参数: lowerCamelCase

  • 局部变量: lowerCamelCase

  • @Override: 合法则标注

  • 变量声明: 不允许组合声明

  • 代码格式化: IDEA格式

  • if, else, for, do, while: 必须加{}

  • 注释: 必须包含作者


注: 写完Demo的才算完成

Creational patterns

  • Abstract Factory
  • Builder
  • Factory Method
  • Object Pool
  • Prototype
  • Singleton

Structural patterns

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Private Class Data
  • Proxy

Behavioral patterns

  • Chain Of Responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Null Object
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor

Unknown patterns

  • Filter
  • Composite Entity
  • Specification
  • Double Click Checking

About

Tongji software architecture and design model course project

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages