Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1563
  • 博文数量: 56
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 465
  • 用 户 组: 普通用户
  • 注册时间: 2018-08-26 01:30
文章分类

全部博文(56)

文章存档

2018年(56)

我的朋友

发布时间:2018-08-29 04:01:46

原文地址:http://www.oodesign.com/interpreter-pattern.htmlInterpreterMotivationThe Interpreter is one of the Design Patterns published in the GoF which is not really used. Ussualy the Interpreter Pattern is described in terms of formal grammars, like it was described in the origina.........【阅读全文】

阅读(0) | 评论(0) | 转发(0)

发布时间:2018-08-29 04:00:36

原文地址:http://www.oodesign.com/command-pattern.htmlCommand Pattern“An object that contains a symbol, name or key that represents a list of commands, actions or keystrokes”. This is the definition of a macro, one that should be familiar to any computer user. From this idea the Command.........【阅读全文】

阅读(0) | 评论(0) | 转发(0)

发布时间:2018-08-29 03:59:15

原文:http://www.oodesign.com/chain-of-responsibility-pattern.htmlChain of ResponsibilityMotivationIn writing an application of any kind, it often happens that the event generated by one object needs to be handled by another one. And, to make our work even harder, we also happen to.........【阅读全文】

阅读(0) | 评论(0) | 转发(0)

发布时间:2018-08-29 03:58:11

文章地址:http://www.oodesign.com/prototype-pattern.htmlPrototype PatternMotivationToday’s programming is all about costs. Saving is a big issue when it comes to using computer resources, so programmers are doing their best to find ways of improving the performance When we talk about .........【阅读全文】

阅读(0) | 评论(0) | 转发(0)

发布时间:2018-08-29 03:56:55

原文地址:http://www.oodesign.com/builder-pattern.htmlBuilder PatternMotivationThe more complex an application is the complexity of classes and objects used increases. Complex objects are made of parts produced by other objects that need special care when being built. An applicatio.........【阅读全文】

阅读(0) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册