182. Mapping the elements of a stream

Mapping the elements of a stream is an intermediate operation that's used for transforming these elements into a new version of them by applying the given function to each element and accumulating the results in a new Stream (for example, transforming a Stream<String> into a Stream<Integer>, or transforming a Stream<String> into another Stream<String>, and so on).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.163.229