Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Map<String, UnwrappedObject> newMap = wrappedObjectMap.entrySet()
  2. .stream()
  3. .collect(Collectors.toMap(Map.Entry::getKey,
  4. e -> e.getWrappedObject()); // assuming this method exists to get the UnwrappedObject
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement