Design for collections upgrades

Rémi Forax forax at univ-mlv.fr
Thu Mar 10 03:04:41 PST 2011


  Le 10/03/2011 11:46, "Zdeněk Troníček" a écrit :
> To me it seems logical that filter() returns the same collection as was
> the original collection. For Set you do not have any other choice either:
>
> set.filter(predicate)
>
> cannot switch from HashSet to TreeSet or back.
>
> Z.

How do you implement that ?

R.



More information about the lambda-dev mailing list