JavaBeat Certifications Certifications Kits Articles Interview Questions OCAJP 7 OCPJP 5 OCPJP 6 OCEJWCD 6 SCBCD 5.0 SCEA SCJA
Submit Links | Latest Links | Login (want to submit links for DLinks? send a mail to krishnas@javabeat.net)

Iterator Pattern

Because of the excellent job of the Java development team at Sun (now Oracle), Java developers are probably more familiar with the Iterator design pattern than developers in other languages. So much so that we seldom refer to traversing over a collection, but instead use the vernacular of “iterating over” a collection. While you may have used iterators built into the Java programming language, this article shows you the rational behind iterators and describes how to build an iterator of your own.

Topic: java

Add your comments

 

javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2013), JavaBeat