if(list1.contains(list2) && list2.contains(list1)){ true }

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

On Thu, Oct 1, 2015 at 10:22 AM, Les Hartzman <lhartzman@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