+ -
当前位置:首页 → 问答吧 → 8->The Iterator Pattern(bmli预定)

8->The Iterator Pattern(bmli预定)

时间:2006-03-27

来源:互联网

8
The Iterator
Pattern
OBJECT-ORIENTED PROGRAMMING ENCAPSULATES application logic in classes. Classes, in
turn, are instantiated as objects, and each individual object has a distinct identity and state.
Individual objects are a useful way to organize your code, but often you want to work with a
group of objects, or a collection. A set of rows from a SQL query is a collection, as is the list of Property
objects in the Monopoly game examples shown earlier in the book.
A collection need not be homogeneous either. A Window object in a graphical user interface framework
could collect any number of control objects ― a Menu, a Slider, and a Button, among others.
Moreover, the implementation of a collection can vary: a PHP array is a collection, but so is a hash
table, a linked list, a stack, and a queue.
The Problem
How can one easily manipulate any collection of objects?

作者: PHPChina   发布时间: 2006-03-26

...

作者: Bantu   发布时间: 2006-03-28

我收下拉, 139188408**
大家找别的章节吧。。呵呵

作者: bmli   发布时间: 2006-03-28

连续加班了2周,几乎没有时间放到上面. 这周保证交付..不好意思啦..

作者: bmli   发布时间: 2006-04-18

辛苦了,大家理解你!

作者: forest   发布时间: 2006-04-18

翻译完了,有如下问题:
1, 源doc文件格式很差,另外,好像很错别字或漏字(特别是源代码部分)。
2,我翻译完的doc中的代码,很多需要从源doc中重新复制过来。
3,我用的是 translation Manager 来翻译的,校对人员可以使用这个工具来校对我的,比较方便点,返回的东西我也附带了fxp文件。
4,有50%的翻译量是我叫一个同事帮我翻译的,我实在太忙。

[ 本帖最后由 bmli 于 2006-4-24 14:40 编辑 ]

作者: bmli   发布时间: 2006-04-24

收到,进入校验流程。

作者: PHPChina   发布时间: 2006-04-24

非常�x�x您的分享
好看喔~~
Ec2Link Leader of Website Hosting

作者: BeeGirl033   发布时间: 2007-04-05

设计模式是OOP的基础工具

作者: 书生   发布时间: 2007-04-17

热门下载

更多