Skip to content
Mahmoud Ben Hassine edited this page Oct 9, 2015 · 5 revisions

Concat

Synopsis

Create a XStream by concatenating two streams.

Example

XStream.concat(Stream.of("a", "b"), Stream.of("c", "d")).to(stdOut()); //prints "a", "b", "c", "d" 
Clone this wiki locally