I have 2 arraylists of string object.
List sourceList = new ArrayList(); List destinationList = new ArrayList
The answer is given in @dku-rajkumar post.
ArrayList commonList = CollectionUtils.retainAll(list1,list2);