Skip to content

lowercase

Mahmoud Ben Hassine edited this page Nov 21, 2015 · 4 revisions

lowercase

Synopsis

Transforms a String to lower case.

Parameters

N/A

Example

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"
Clone this wiki locally