Tutorialspoint

Java Generics, Collections Framework And Streams API

Learn about Data Structures in Collections, Generics and how to use Java Streams API for powerful operations.

Course Description

Learn about Java Generics and how to create Generic classes. You also learn about Generic Interfaces and Methods.

After learning and understanding Java Generics we then dive into the Java Collections Framework where we learn about data structures such as List, ArrayList, HashMap, HashSet, LinkedList... and so on. Generics are an important part of the Java programming language.

We have extra lessons on Java Optional which helps us avoid null pointer exceptions in Java. You will learn about Optionals because it's knowledge will be applied when you learn about Java Streams API.

Finally, we learn about the Streams API, how it works and the various methods such as filter(), map(), flatMap(), reduce(), collect() ... and so on.

After this course, you should have a solid understanding of the Java Generics, the Collection Framework with its Data Structures and the Java Streams API.

In a nutshell, generics enable types (classes and interfaces) to be parameters when defining classes, interfaces and methods. Much like the more familiar formal parameters used in method declarations, type parameters provide a way for you to re-use the same code with different inputs. The difference is that the inputs to formal parameters are values, while the inputs to type parameters are types.

Goals

  • What The Java Collections Framework Is Composed of.
  • Learn About The Data Structures Available In The Collection Framework.
  • What Are Generics And How To Use Generics.
  • How To Create Generic Classes.
  • How To Create Generic Interfaces.
  • How To Create Generic Functions.
  • How To Use Existing Collections Like Lists, Sets And Queues.
  • How To Use Java Streams.
  • Use Lambda Expressions And Method References In Streams.
  • Learn What Java Optionals Are And How To Use Them.
  • Learn About Stream Methods Such As Filter, Map, FlatMap And Collect.

Prerequisites

  • Java SDK 11 Installed (Not Compulsory)
  • Understand Basics of Java.
  • Understand Java Lambda Expressions And Method References.
Show More

Curriculum

  • Coding Without Generics
    05:47
    Preview
  • Intro to Generics
    05:57
  • Multiple Type Parameters
    05:20
  • Bounded Types
    03:58
    Preview
  • Bounded Types - Interfaces
    04:15
  • Generic WildCards
    07:40
  • Bounded WildCards
    03:06
  • Lower Bound WildCards
    02:40
  • Generic Method
    04:14
  • Generic Constructors
    01:47
    Preview
  • Generic Interfaces
    05:59
  • Raw Types
    05:29
  • Generic Super Class
    04:20
  • Generic Sub Class
    01:06
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Feedbacks
3.0
Course Rating
0%
0%
100%
0%
0%

    Feedbacks (1)

  • Pramod J.
    Pramod J.

Java Generics, Collections Framework And Streams API
This Course Includes
  • 6 hours
  • 102 Lectures
  • 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