Design for collections upgrades

Rémi Forax forax at
Sun Mar 13 12:39:40 PDT 2011

On 03/13/2011 04:37 PM, Colin Decker wrote:
> Set.filter() can return a Set view and can return a List 
> view. Of course, can't very well return a Set view.

Thanks for the correction.
I was thinking but write Set.filter().
Also it's useful to note that list.subList() return a random access list 
if the list is a random access list.
This is not true for

> -- 
> Colin


More information about the lambda-dev mailing list