摘要:
1. 定义http://en.wikipedia.org/wiki/Adapter_patternAn adapter helps two incompatible interfaces to work together. This is the real world definition for ... 阅读全文
摘要:
1. 定义,来自wiki(http://en.wikipedia.org/wiki/Decorator_pattern)The decorator pattern can be used to extend (decorate) the functionality of a certain obje... 阅读全文