Maybe that post came out with the wrong emphasis.

I'm not trying to say we should prefer external iterators to internal
ones, indeed much of the value of commons-functor comes from replacing
external iteration with internal iteration.  It just seems that if you add
a next() method to Generator, then Generator extends Iterator, and that
seemed like a reasonable thing to add.  Given that the
java.util.Collections are external iterator based, they will remain a
force to be reckoned with in Java.

I'm still trying to wrap my head around bits of the Generator package and
how and why it's implemented in certain ways.  Let me hold off on any sort
of Generator extends Iterator changes for the time being, and work through
some other concerns.


- Rod <http://radio.weblogs.com/0122027/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to