/Design-Pattern

Design patterns concepts implemented by Java - reading notes of 大話設計模式

Primary LanguageJava

Design-Pattern

Design patterns implemented by Java - reading notes of 大話設計模式

Creational Pattern

  • Factory Method
  • Abtract Factory
  • Builder
  • Prototype
  • Singleton

Structural Pattern

  • Adaptor
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy

Behavioral Pattern

  • Observer
  • Template Method
  • Command
  • State
  • Chain of Responsibility
  • Interpretor
  • Mediator
  • Visitor
  • Strategy
  • Memonto
  • Iterator

How to Run

Main programs are in Client directory.

Change directory to Client and run *Client.java with desired Design Pattern. Results will be printed out as system output.

cd Client
java *Client.java