groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hartzman <>
Subject Iterate over 2 lists in a closure?
Date Thu, 01 Oct 2015 17:22:39 GMT

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.



View raw message