Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<String, UnwrappedObject> newMap = wrappedObjectMap.entrySet()
- .stream()
- .collect(Collectors.toMap(Map.Entry::getKey,
- e -> e.getWrappedObject()); // assuming this method exists to get the UnwrappedObject
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement