I have a :
Map<String,List<String>> persons
And each String element in the List<String> represents a Long
So I want to turn my Map<String,List<String>> into a Map<String,List<Long>>
The problem is my List are encapsulated into a map. I know with a single List, I can do that :
list.stream().map(s -> Long.valueOf(s)).collect(Collectors.toList());
But my case is a bit different. Any idea how to proceed ?
Thanks