Let’s see few Java 8 examples, I hope these would be helpful.
Index
- Double the numbers of specified ArrayList using Streams
- Double the even / odd numbers of a specified ArrayList using Streams
- How to check if Number is Prime or not using Streams
- Retrieve Even/Odd Numbers within the Range using Java 8 Streams
- How to add/sum up the ArrayList integers using Java8 Streams
- Generate Prime Numbers in Java 8 using Streams
- Comparator example – Collections sort with/without Lambda in Java 8
- How to pass function as a parameter in a method in Java 8?
- Remove duplicates from ArrayList in Java 8
- ForEach examples for Map/List in Java 8
- Supplier Interface in Java 8 with examples
- Consumer Interface in Java 8 with examples
- Predicate Interface in Java 8 with examples
- BiConsumer Interface in Java 8 with examples
- Function Interface in Java 8 with examples
- BiFunction Interface in Java 8 with examples
- DoubleConsumer Interface in Java 8 with examples
- BooleanSupplier Interface in Java 8 with examples
- DoubleFunction Interface in Java 8 with examples
- DoublePredicate Interface in Java 8 with examples
- BiPredicate Interface in Java 8 with examples
- DoubleToIntFunction Interface in Java 8 with examples
- IntToDoubleFunction Interface in Java 8 with examples
- DoubleSupplier Interface in Java 8 with examples
- LongToIntFunction Interface in Java 8 with examples
- DoubleToLongFunction Interface in Java 8 with examples
- IntToLongFunction Interface in Java 8 with examples
- LongToDoubleFunction Interface in Java 8 with examples
- IntConsumer Interface in Java 8 with examples
External Recommended Resources:
Java-8 Tutorials – By MKYONG
Other Useful Tutorials:
Java Tutorial/Examples
Rest Assured Tutorial
Apache HttpClient Tutorial