Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<String, Component> componentsMap= componentList.stream()
- .collect(Collectors.toMap(component -> component.getComponentType().toString(), Function.identity()));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement