1 Map<String, List<String>> adjList = Stream.of(
2 new SimpleEntry<>("Edmonton", Arrays.asList("E N1", "E N2", "E N3")),
3 new SimpleEntry<>("Vancouver", Arrays.asList("V N1", "V N2", "V N3")))
4 .collect(Collectors.toMap((e) -> e.getKey(), (e) -> e.getValue()));
5