Posts Tagged Iterator Design Pattern

Iterator Design Pattern

Iterator Pattern is a Behavioural Design Pattern. The intent of Interator pattern is to provide a way to sequentially taverse over a data structure without exposing underlying data structure. Java’s Iterator is a good implementation of this pattern and allows us to traverse over underlying collection in a sequential way. A collection creates an Iterator […]

, ,

Leave a comment