Say I have this array list:
 List<Map<String,String>> fileDataList= new ArrayList<>();
 fileDataList.stream().forEach(t->{
  //find duplicate map values
 });
The list may contain duplicate values like these:
[
    {age:12,name:"john"}, 
    {age:11,name:"Mary"},
    {age:12,name:"john"}
]
Now,I would like to find the duplicate map values which match both name and age inside the stream without removing them. I tried with HashSet, But I couldn't understand.
 
     
     
    