Wednesday, March 2, 2011

Pattern and their intent

Pattern Intent
Decorator Converts one interface to another
Adapter Doesn’t alter the interface, but adds responsibility
Facade

Makes an interface simpler

Composite

Clients treat collections of objects and individual objects uniformly

Iterator

Provides a way to traverse a collection of objects without exposing the collection’s implementation

No comments:

Post a Comment

Chitika