there ya go. :)

Owen Rubel
415-971-0976
oru...@gmail.com

On Thu, Oct 1, 2015 at 10:42 AM, Les Hartzman <lhartz...@gmail.com> wrote:

> Thanks. I also just discovered:  list1.equals(list2).
>
> On Thu, Oct 1, 2015 at 10:28 AM, Owen Rubel <oru...@gmail.com> wrote:
>
>> if(list1.contains(list2) && list2.contains(list1)){ true }
>>
>> Owen Rubel
>> 415-971-0976
>> oru...@gmail.com
>>
>> On Thu, Oct 1, 2015 at 10:22 AM, Les Hartzman <lhartz...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I want to know if it's possible to have a closure that can iterate over
>>> 2 equal length lists? The equivalent of doing list1.each, list2.each { ...
>>> }, where each list is a list of an user-defined type.
>>>
>>> Basically I want to compare elements in the lists to see if they are
>>> equal.
>>>
>>> Thanks.
>>>
>>> Les
>>>
>>>
>>
>

Reply via email to