how to get only common userObject from two list based on their id using Java8 stream
Here is my UserDetails calss with id and name.
I have two arraylist of Userdet