Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java 8 merge 2 collections.

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