Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Java8 Streams By Coding it with Hands on Example
Rating: 4.3 out of 5(60 ratings)
8,576 students

Learn Java8 Streams By Coding it with Hands on Example

Stream and Parallel Stream in Java8
Created byArun Ammasai
Last updated 4/2020
English

What you'll learn

  • Learn about Java8 Streams with Hands on Example

Course content

6 sections38 lectures5h 40m total length
  • Introduction to Functional Interfaces6:43

    Learn how Java 8 functional interfaces rely on a single abstract method, support default and static methods, and enable lambdas with core interfaces like Consumer, Predicate, Function, and Supplier.

  • Offline Repository for Hans on excercise9:38

    Explore the Java 8 consumer interface with hands-on examples, using lambdas and andThen to chain actions, in an offline person repository demo.

  • Streams Introduction3:42

    Explore Java 8 streams as a lazy, parallel pipeline for lists, using lambda expressions and intermediate operations to transform and aggregate data without altering the original collection.

  • Streams Example Part 111:05

    Create and manipulate streams from data sources, use Stream.of and arrays, apply forEach, filter with predicates, and collect results into a map of name to Hobbes.

  • Streams Example Part 27:15

    Learn to transform data with streams using map and flatMap to extract hobbies from a list of people, then collect and deduplicate them with distinct.

  • Streams Example Part 313:42

    Compare collections and streams in Java, highlighting read-only streams, lazy evaluation, and one-time use, then demonstrate mapping, peeking, and collecting with practical examples.

  • Streams Map Example Part 18:25

    Explore the Java 8 streams map operation by transforming a list of fruit names into their lengths, collecting results, and printing them, in a hands-on example.

  • Streams Map Example Part 25:50

    Transform a list of person objects into uppercase names by retrieving names with getName and applying toUpperCase via stream map, then collect the results with collectors.toList or collectors.toSet.

  • Streams FlatMap Example Part 16:35

    Demonstrate flat map in Java 8 streams by flattening a list of odd and even integers into a single list, applying a transformation, and collecting into a new stream.

  • Streams FlatMap Example Part 25:54

    Learn how to use Java 8 streams and flatMap to flatten each person's hobbies into a single list, then collect, deduplicate, and prepare sorted results.

  • Streams FlatMap Example Part 36:01

    Learn Java streams through a hands-on flatMap example that flattens data, maps, removes duplicates with distinct, sorts results, and counts elements.

  • Streams FlatMap Example Part 45:38

    Learn how to sort streams in Java 8 using comparator and reversed for name and height, print results, and see how functional programming simplifies custom sorting in this hands-on example.

  • Stream Filter Example12:51

    Master the stream filter in Java 8 by using predicates to restrict data in a list, like names or height, then collect and print the filtered results.

  • Streams Reduce Example Part 111:23

    Learn how streams reduce applies a custom accumulation to a list of integers, demonstrated with sum and a multiplication example using a starting value and a BiFunction.

  • Streams Reduce Example Part 213:09

    Explore how to use stream reduce to concatenate names with map, and determine the tallest person using a reduce with an initial value, handling optional results.

  • Streams Filter Map Reduce Example7:18

    The lecture demonstrates Java 8 streams using filter, map, and reduce to count each person’s kids by filtering height and gender and summing the results.

  • Streams MinBy MaxBy Example15:23

    Explore java 8 streams using maxBy and minBy to find the tallest and shortest person from a repository, handle optional results, and manage ties with streaming filters.

  • Streams Limit Skip Example7:48

    Learn how to control data flow with stream limit and skip in Java 8, using examples of lists and reduce to print and sum only the desired elements.

  • Streams AllMatch AnyMatchExample8:57

    Explore how Java streams use allMatch and anyMatch with a predicate to evaluate all elements or any element in a list, demonstrated with height checks and multiple predicates.

  • Streams FindAny FindFirst Example8:34

    Explore how to use streams findAny and findFirst in Java 8, with filters and optionals, to retrieve the first matching element or any matching element efficiently.

Requirements

  • You should have basic knowledge about core java and generics[Collection]

Description

This Course basically designed for the people who have knowledge in prior knowledge about java.

We will cover the Followings in this course,

1. Sequential Streams

2. Parallel Streams

Here the Sub Topics we are going to cover in this tutorial,

  1. Introduction to Functional Interfaces

  2. Streams Introduction

  3. Streams Introduction 1

  4. Streams Example Part 1

  5. Streams Example Part 2

  6. Streams Example Part 3

  7. Streams Map Example Part 1

  8. Streams Map Example Part 2

  9. Streams FlatMap Example Part 1

  10. Streams FlatMap Example Part 2

  11. Streams FlatMap Example Part 3

  12. Streams FlatMap Example Part 4

  13. Streams Filter Example

  14. Streams Reduce Example Part 1

  15. Streams Reduce Example Part 2

  16. Streams Filter Map Reduce Example

  17. Streams MinBy, MaxBy Example

  18. Streams Limit Skip Example

  19. Streams AllMatch, AnyMatchExample

  20. Streams FindAny , FindFirst Example

  21. Streams Factory Method Example

  22. Numeric Stream Example

  23. Numeric Stream Factory Method Example

  24. Numeric Stream Factory Aggregation Method Example

  25. Stream Boxing and UnBoxing Example

  26. Numeric Stream Map Example

  27. Stream Joining Example

  28. Stream Mapping and Counting Example

  29. Stream Summing and Averaging Example

  30. Stream Grouping By Example Part 1

  31. Stream Grouping By Example Part 2

  32. Stream Partitioning By Example

  33. Sequential vs Parallel Stream Example Part 1

  34. Sequential vs Parallel Stream Example Part 2

  35. Sequential vs Parallel Stream Use Case

  36. Parallel Stream When Not to Use Case Part 1

  37. Parallel Stream When Not to Use Case Part 2

Happy Learning !!!

Who this course is for:

  • For experienced java developers