How to get only similar userbjects(id,name) from two different arraylists of userObjects where id is same but name is different

前端 未结 0 526
臣服心动
臣服心动 2021-02-04 03:48

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题