I have the following situation
Map map; public class ListContainer{ List lst; }
I have to merge
In Java 8 we can use stream List1.stream().collect(Collectors.toList()).addAll(List2); Another option List1.addAll(List2)