Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.18 KB | None | 0 0
  1. Map<String, Cohort> emptyCohortsMap = colNames.stream().filter(cohortsMap::containsKey)
  2.                     .collect(Collectors.toMap(Function.identity(), key -> (Cohort) cohortsMap.get(key)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement