装饰模式(Decorator)
2019-05-05 10:22:27 0 举报
装饰模式(Decorator)
作者其他创作
大纲/内容
StudentDecoratorB
+ StudentDecoratorB(person:Person)+ eat():void+ after():void
StudentDecoratorA
+ StudentDecoratorA(person:Person)+ eat():void+ before():void
Studen
+ eat():void
Decorator
- person:Person
+ Decorator(person:Person)+ eat():void
Person
0 条评论
下一页