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

全部博文(51)

文章存档

2020年(2)

2018年(49)

我的朋友

发布时间:2018-08-29 04:02:54

原文地址:http://www.oodesign.com/iterator-pattern.htmlMotivationOne of the most common data structures in software development is what is generic called a collection. A collection is just a grouping of some objects. They can have the same type or they can be all cast to a base type li.........【阅读全文】

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

发布时间: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.........【阅读全文】

阅读(392) | 评论(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.........【阅读全文】

阅读(450) | 评论(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.........【阅读全文】

阅读(411) | 评论(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 .........【阅读全文】

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

登录 注册