Is Inheritance Dead? A Detailed Look Into the Decorator Pattern 转载于:https://my.oschina.net/u/864135/blog/1805524