groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keegan Witt <keeganw...@gmail.com>
Subject Re: intersect() returns duplicate elements
Date Tue, 09 Jun 2015 17:19:58 GMT
I've not had trouble with intersect() myself.  Under what circumstances did
you observe the duplicates?  Can you give an example?

-Keegan

On Tue, Jun 9, 2015 at 11:13 AM, Peter Ledbrook <peter@cacoethes.co.uk>
wrote:

> Hi,
>
> While implementing and testing an intersect() method for CharSequence, I
> noticed that Iterable.intersect() may return duplicate elements. Is that
> intentional? It's not the behaviour I would expect.
>
> Thanks,
>
> Peter
>

Mime
View raw message