8->The Iterator Pattern(bmli预定)
时间:2006-03-27
来源:互联网
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
大家找别的章节吧。。呵呵
作者: bmli 发布时间: 2006-03-28
作者: 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
好看喔~~
Ec2Link Leader of Website Hosting
作者: BeeGirl033 发布时间: 2007-04-05
作者: 书生 发布时间: 2007-04-17
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28