Iterator can be used if we want to access elements of collection object without knowing its underlying representation.
For example, we will built a iterator that will iterate a collection of user object.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Iterator can be used if we want to access elements of collection object without knowing its underlying representation.
For example, we will built a iterator that will iterate a collection of user object.