Iterator Pattern

The Iterator Pattern provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation.

原文地址:https://www.cnblogs.com/jasonC/p/3457038.html