June 2017
Beginner
1296 pages
69h 23m
English
In this chapter you’ll:
Learn various functional-programming techniques and how they complement object-oriented programming.
Use lambdas and streams to simplify tasks that process sequences of elements.
Learn what streams are and how stream pipelines are formed from stream sources, intermediate operations and terminal operations.
Create streams representing ranges of int values and random int values.
Implement functional interfaces with lambdas.
Perform on IntStreams intermediate operations filter, map, mapToObj and sorted, and terminal operations forEach, count, min, max, sum, average and reduce.
Perform on Streams intermediate operations distinct, filter, map, mapToDouble and sorted, and terminal ...
Read now
Unlock full access