-
Notifications
You must be signed in to change notification settings - Fork 15
expand
Mahmoud Ben Hassine edited this page Oct 13, 2015
·
4 revisions
Replaces tabs with spaces in a stream of Strings.
N/A
Stream<String> stream = Stream.of("a\tb", "b\t\tc");
UStream.unixify(stream)
.expand()
.to(stdOut()); // prints "a b", "b c"
// Or
UStream.from(stream)
.pipe(expand())
.to(stdOut()); // prints "a b", "b c"
UnixStream is created with passion by Mahmoud Ben Hassine