Decorator Pattern
Decorator pattern is to enhance existing function, decorator and original class implement same interface, from implementation it's close to proxy pattern.The difference between decorator and proxy is, decorator is to enhance existing function, after that
原创
2021-11-07 00:15:19 ·
74 阅读 ·
0 评论