You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Stephen Colebourne <sc...@btopenworld.com> on 2004/07/28 23:04:46 UTC

Re: [collections] TransformedList should return transformed iterator?

Could you file a Bugzilla report for this please ;-)

Stephen

----- Original Message ----- 
From: "Andriy Palamarchuk" <ap...@yahoo.com>
To: <co...@jakarta.apache.org>
Sent: Wednesday, July 28, 2004 3:24 PM
Subject: Re: TransformedList should return transformed iterator?


> Ok, I see that TransformedListIterator still returns
> original objects, not the transformed ones, so the
> suggested change is not applicable.
> 
> Is it possible to make methods iterator, listIterator
> return iterators over transformed objects, not the
> original ones, e.g. with using TransformIterator?
> Another method where the original type "leaks" is
> toArray.
> 
> Andriy
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


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