The Java 8 Streams Demos is a Maven based project exclusively developed by Andrea Binello (“andbin”) to provide a set of useful and enjoyable demos about the Java 8 Stream API, featuring also lambda expressions and method references (and some of the nice Java 5/Java 7 features: generics, varargs, enums, diamond, etc...).
See the Index for a brief list of all the demos. Or directly browse the src/main/java/net/andbin/streamsdemos folder.
This project is licensed under the MIT License, a very permissive free software license. See the full text of the license:
You can also see external resources here or here.
If you want to learn/master the Stream API, lambda expressions and method references, please see the following resources:
- Lambda Expressions / Method References / Aggregate Operations (from official Oracle Java Tutorial)
- Maurice Naftalin's Lambda FAQ
java.util.function
package /java.util.stream
package javadocs
- Mastering Lambdas (book by Maurice Naftalin, published by McGraw-Hill Education)
- Java 8 in Action (book by Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft, published by Manning Publications)
- Java 8 Lambdas (book by Richard Warburton, published by O'Reilly Media)