Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于装饰模式 #16

Open
ouewqa opened this issue Mar 3, 2017 · 1 comment
Open

关于装饰模式 #16

ouewqa opened this issue Mar 3, 2017 · 1 comment

Comments

@ouewqa
Copy link

ouewqa commented Mar 3, 2017

下面这张图没看明白

Decorator: 抽象装饰类 与 Component: 抽象构件,为什么还有一个泛化关系?
不是只有一个聚合关系么?

http://design-patterns.readthedocs.io/zh_CN/latest/structural_patterns/decorator.html

@godtail
Copy link

godtail commented Sep 20, 2017

是组合吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants