I have following three lists:
List((List(vmnic2),"VM Network",10,"vSwitch0"), (List("vmnic2"),"Management Network",0,"vSwitch0"))
List(List("vmnic2"))
List("VM Network 2", "VM Network 3", "VM Network")
I want to do following:
1) I want to check whether first list contains second list and 2) Any of element from third list matches with second value in any element of first list.
From above three list I want output as
List(List("vmnic2"),"VM Network",10,"vSwitch0")
How do I get above output using scala??
AnyLists).