two list and return a boolean true if any element of the first list is inside the second list. The compare conditions is on some attributes of the elements (so no contains). I want to use java 8 stream, any help?
I would create HashSet of one list and iterate over another one. Checking if it's in the set
Обсуждают сегодня