Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aggregationResults.getMappedResults().stream()
- .map(v -> new ImmutablePair<>(v.getId(), v.getMessage()))
- .collect(Collectors.toMap(Pair::getKey, Pair::getValue));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement