Let consider a hashmap I inserted some values into both hashmap. For Example, Q1) Now I want to apply a filter condition on the key in hashmap and retrieve the corresponding value(List). Eg: Here My query is key=1, and output should be ‘list1’ I wrote But I don’t know how to retrieve as a list as output of this stream