When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

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

This Course Includes
udemy
4 (75 reviews )
5h 36m
english
Online - Self Paced
professional certificate
Udemy
About Java Generics, Collections Framework And Streams API
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. (
_Java Docs_
)
What You Will Learn?
- 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. Show moreShow less.