SyntaxFix
Write A Post
Hire A Developer
Questions
Another way to do it, with Java 8 and without external libs:
Stream.concat(collectionA.stream(), collectionB.stream()) .collect(Collectors.toList())