Iterators for D

Ary Manzana ary at esperanto.org.ar
Tue Nov 7 17:30:35 PST 2006


Bill Baxter escribió:
> But how do you handle generically pointing to an element then?  Like you 
> have with an iterator to a node in linked list.  I guess you can have 
> iterators with hasPrev() getPrev() (or --) type methods too.
> 
> --bb

In fact, Java has them:

http://java.sun.com/j2se/1.5.0/docs/api/java/util/ListIterator.html



More information about the Digitalmars-d mailing list