Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<String, Cohort> emptyCohortsMap = colNames.stream().filter(cohortsMap::containsKey)
- .collect(Collectors.toMap(Function.identity(), key -> (Cohort) cohortsMap.get(key)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement