Iterator is a behavioral design pattern that lets you traverse elements of a collection without exposing its underlying representation (list, stack, tree, etc.). source
In this example UserIterator is used to iterate UserCollection.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Iterator is a behavioral design pattern that lets you traverse elements of a collection without exposing its underlying representation (list, stack, tree, etc.). source
In this example UserIterator is used to iterate UserCollection.