Builder
2016-10-05 20:37:44 0 举报
java design pattern
作者其他创作
大纲/内容
Builder
- buildPartA()- buildPartB()- buildPartC()- getResult()
ConcreteBuilder
Product
HeroBuilder
-HeroBuilder(Profession)-withHairType(HairType)-withWeapon(Weapon)...
Client
Hero
- Hero(HeroBuilder)
Director
+ builder:Builder
- construct()
0 条评论
下一页