Java Streams and Lambda Expressions Tutorial explores the newest additions to Java 8. The tutorial contains practical examples of how to use Stream API, Lambdas, and method refereneces to solve common problems.
Java 8 reductions
- Reduce by example
All Java 8 Stream.reduce() methods explained on examples!
- Java 8 List to Map
How to create a map from list of elements using Java 8 Streams and Collectors.
- Java 8 count frequency of elements/chars/numbers/objects
How to count frequencies with help of Collectors.toMap().
- Java 8 count frequency of chars in String
How to count frequencies of chars in String using two different Java 8 features.