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