Please explain Iterator Pattern in JAVA by a simple example,Thanks in advance