Factory Method Pattern
2018-06-29 16:54:06 0 举报
Factory Method Pattern
作者其他创作
大纲/内容
OperationDivFactory
+ createOperation():Operation
OperationMulFactory
OperationFactory
Operation
- first_num:double- second_num:double
+ getFirstNum():double+ setFirstNum(first_num:double):void+ getSecondNum():double+ setSecondNum(second_num:double):void+ getResult():double
OperationDiv
+ getResult():double
OperationSub
OperationSubFactory
OperationMul
OperationAddFactory
OperationAdd
收藏
收藏
0 条评论
下一页