commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul womack <pwom...@papermule.co.uk>
Subject Re: [collections] IteratorChain(Iterator) should be meta!
Date Tue, 04 Jul 2006 09:45:43 GMT
Paul Libbrecht wrote:
> 
> Hello,
> 
> only after a looong quest I realized that new IteratorChain(Iterator) 
> will only iterate through the elements of the given iterator instead of 
> expecting that each element is an iterator itself through which one 
> iterates.
> 
> Am I blurred to expect such ?
> I suppose that changing this behaviour would be a too strong API 
> change... so should one do an IteratorThroughIterators?? I can offer a 
> class... if wished.

I think what you want can be handled nicely by
the (remarkable) ObjectGraphIterator class.

   BugBear

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message