Tutorialspoint

Functional Programming in Java - Java Lambdas and Streams.

Using code examples to explain lambdas and streams.

Course Description

This course is a systematic approach to explaining in both notes format and especially code examples, lambda expressions and streams in Java.  

Topics include:

  • Lambdas:

    • Functional Interfaces

    • Lambdas and their relationship to Functional Interfaces

    • Lambdas in code using a custom Functional Interface

    • Lambdas in code using the pre-defined API Functional Interfaces:

      • Predicate/BiPredicate

      • Supplier

      • Consumer/BiConsumer

      • Function/BiFunction

      • UnaryOperator and BinaryOperator

    • final and "effectively final"

    • Method References:

      • bound

      • unbound

      • static

      • constructor

      • context and it's effect in understanding method references

  • Streams:

    • Pipelines

    • Laziness

    • Creating streams

    • Terminal operations:

      • reduce()

      • collect()

        • Collectors.toMap()

        • Collectors.groupingBy()

        • Collectors.partitioningBy()

    • Intermediate operations:

      • filter(), distinct(), limit()

      • map(), flatMap(), sorted()

    • Primitive streams:

      • Creating

      • API

      • Functional Interfaces

      • Mapping between primitive streams

      • Mapping between primitive streams and Object streams and vice versa

    • Optionals

    • Parallel streams

Goals

The following topics will be discussed in detail:

  • Lambdas
    • Functional Interfaces and how Lambdas relate to them

    • Lambdas in code using the pre-defined API Functional Interfaces

    • Method References

  • Streams:

    • Pipelines

    • Laziness

    • Creating streams

    • Terminal operations

    • Intermediate operations

    • Primitive streams

    • Optionals

    • Parallel streams

Prerequisites

Pre-requisites are:

  • an editor/IDE such as Eclipse, Netbeans etc..
  • an intermediate level of Java
Show More

Curriculum

  • Introduction
    06:42
    Preview
  • Lambdas in code (using a custom functional interface)
    03:08
    Preview
  • Lambdas in code (using Predicate)
    05:35
  • Functional Interfaces from the API - Predicate and BiPredicate
    03:14
  • Functional Interfaces from the API - Supplier
    02:08
  • Functional Interfaces from the API - Consumer and BiConsumer
    05:00
  • Functional Interfaces from the API - Function and BiFunction
    02:47
  • Functional Interfaces from the API - UnaryOperator and BinaryOperator
    03:03
  • Lambdas - final and effectively final
    04:15
  • Method References
    02:42
  • Bound Method References
    04:59
  • Unbound Method References
    05:01
  • Static Method References
    02:55
  • Constructor Method References
    03:02
  • Method References and Context
    05:51
  • Appendix - Code Resources
Tutorialspoint
Feedbacks
3.0
Course Rating
0%
0%
100%
0%
0%

    Feedbacks (1)

  • Pramod J.
    Pramod J.

Functional Programming in Java - Java Lambdas and Streams.
This Course Includes
  • 2.5 hours
  • 36 Lectures
  • 2 Resources
  • Completion Certificate Sample Certificate
  • Lifetime Access Yes
  • Language English
  • 30-Days Money Back Guarantee

Sample Certificate

Use your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

We have 30 Million registered users and counting who have advanced their careers with us.

X

Sample Certificate