Using Collections and Iterators in ActionScript
By: Danny Patterson on Tuesday, June 14, 2005
Reader Level: 
The idea of collections and iterators is borrowed from Java. In Java there are two interfaces, Collection and Iterator, that describe this functionality. Implementations of the Collection interface in Java would be classes like ArrayList. In this article, you will learn how to use a generic Collection and Iterator class and what the advantages are. Our implementation won't follow the Java collection framework exactly, but it borrows many of the same concepts.
Purchase this item
You can purchase this piece of content separately for
$3.00
Want more?
Community MX members get unlimited access to daily articles,
tutorials, extensions and support. The most comprehensive
resource for Macromedia designers and developers today.
Take a tour of what we offer, and discover the benefits
of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.



