concatenate multiple lists streams java code example
Example: java 8 collect multiple lists into single list
List<MyObject> list = services.stream()
.flatMap(s -> s.getObjects().stream())
.collect(Collectors.toList());