首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件开发 >

设计形式-行为模式-迭代模式-Java

2013-03-21 
设计模式--行为模式--迭代模式--JavaIntent 目的Providea way to access the elements of an aggregate ob

设计模式--行为模式--迭代模式--Java
Intent 目的

Providea way to access the elements of an aggregate object sequentially withoutexposing its underlying representation.提供一种方法顺序访问一个聚合对象中各个元素, 而又不需暴露该对象的内部表示。

applicability 适应性

to access an aggregate object's contents without exposing its internal representation.获取集合元素而不暴漏内部结构组织与逻辑。to support multiple traversals of aggregate objects.支持多种遍历方式。to provide a uniform interface for traversing different aggregate structures (that is, to support polymorphiciteration).为不同的集合提供一个统一的接口遍历集合。
设计形式-行为模式-迭代模式-Java



热点排行