Design Pattern: Decorator Pattern

Decorator Pattern   1) Motivation:     Extending an object's functionality can be done statically (at compile time) by using inherientence. However it might be necessary to extend an object's function
相关文章
相关标签/搜索