I have a Map, which its key is a String, that contains the following Keys:
"Good morning to you"
"How are you today"
"This day is butiful"
"Thanks in advance"
I would like to know if there is a key that contains two certain words. Of course there could be more then one matching key, but I need to know if there is any,a Boolean answer - true or false.
In the case above, for the words "morning" and "you" I would get true, and for "are " and "butiful" - false.
Is there a way to check such a thing without iterating over the map?
Thanks.