uml类图
2024-06-28 10:05:45 0 举报
生成者模式(套餐生成) 主食(汉堡,鸡肉卷等) 饮料(果汁,可乐等)
作者其他创作
大纲/内容
TaoCan
+zhushi:String+yinliao:String
+setZhushi(String zhushi):void+setYinliao(String yinliao):void+getZhushi():String+getYinliao():String
Taocan1Builder
+buildZhushi():void+buildYinliao():void+createTaocan():Taocan
Director
+mBuilder:Builder
+Director(Builder builder)+construct():Taocan
Builder
#mTaocan:Taocan
Client
+main():void+showtaocan()void
Taocan2Builder
0 条评论
下一页