Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. 提供一种方法顺序地访问一组聚合对象(一个容器)中的各个元素,而又不需要暴露该对象的内部细节。