Design patterns implemented by Java - reading notes of 大話設計模式
- Factory Method
- Abtract Factory
- Builder
- Prototype
- Singleton
- Adaptor
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Observer
- Template Method
- Command
- State
- Chain of Responsibility
- Interpretor
- Mediator
- Visitor
- Strategy
- Memonto
- Iterator
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