设计模式UML
2019-04-16 10:42:46 33 举报
java设计模式
作者其他创作
大纲/内容
ICourse
+ record() void
Huawei2GPhone
+ getPhone()
JavaCourseFactory
+ createCourse(Class) ICourse
JDPhoneFactory
+ createHuaweiPhone(Class) + createIPhone(class)
Test
+ main(String[]) void
CourseFactory
GoCourse
JavaCourse
TmallPhoneFactory
SimpleCourseFactory
+ createCourse(Class) ICourse
HuaweiPhone
GoCourseFactory
5GIPhon
+ getPhone()
IPhone
+ main(String[] ) void
AbstractPhoneFactory
+ createHuaweiPhone(Class) + createIPhone(class)
2GIPhone
Huawei5GPhone
0 条评论
下一页