Class Diagram
2016-05-12 11:59:55 0 举报
设计模式鸭子飞叫的uml
作者其他创作
大纲/内容
Duck
- flyBehavior:FlyBehavior- quackBehavior
+ display():void+ performFly():void+ preformQuack():void+ set():void+ get():Object
RubberDuck
+ display():void
Fly
+ fly():void
Quack
+ quack():void
Squeak
QuackBehavior
FlyBehavior
ModelDuck
FlyLikeRocket
RedHeadDuck
FlyNoWing
MuteQuack
0 条评论
下一页