-
Notifications
You must be signed in to change notification settings - Fork 15
lowercase
Mahmoud Ben Hassine edited this page Nov 21, 2015
·
4 revisions
Transforms a String to lower case.
N/A
Stream<String> stream = Stream.of("A", "b");
UnixStream.unixify(stream)
.lowercase()
.to(stdOut()); // prints "a", "b"
// Or
UnixStream.from(stream)
.pipe(lowercase())
.to(stdOut()); // prints "a", "b"
// Or
stream
.map(Functions.lowercase())
.forEach(System.out::println); // prints "a", "b"
UnixStream is created with passion by Mahmoud Ben Hassine