Tag: iterator

Iterator Design Pattern

Iterator Design Pattern with Java

Most of the time we use the Iterator from the Collections API. It’s very important to know how to implement a customized Iterator in order to understand what is happening behind the scenes. If we read Java source code, for example, we are...