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