I have two array lists with objects of a domain class 'User'
a = [User : 35, User : 36, User : 37]
b = [User : 32, User : 33, User : 34, User : 35, User : 36, User : 37]
When I perform intersect (java.util), it returns an empty list. How can I find the common objects in array list.