View Code? Open in Web Editor
NEW
This project forked from techprimers/structural-design-pattern-example
Structural Design Patterns in Java Examples
structural-design-pattern-example's Introduction
Structural Design Patterns
- Bridge between 2 interfaces (Useful when we work with Legacy code)
- No new functionalities
- Multiple Adapters
- Tree structure
- Component
- Leaf
- Composite
- Very costly to create more composite impl
- Overly simple
- Wrapper
- Add functionality or behavior
- Single Responsibility Principle
- Dynamically compose behavior
- Inheritance and Composition
- New Class for every feature
- no of objects (more)
- more comples for the clients
- Make API easy
- Interface not required
- usually a refactoring pattern
- Over usage
- Clean up design pattern
structural-design-pattern-example's People
Watchers