Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java 8 merge multiple collections.

Stream<String> combinedStream = Stream.concat(
  Stream.concat(collectionA.stream(), collectionB.stream()), 
  collectionC.stream());
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #Java #merge #multiple
ADD COMMENT
Topic
Name
5+7 =