Skip to content

Java Streams API

Members Public

What Is a Predicate Interface In Java?

It takes an object and checks to see if that object satisfies some criteria. We use this in matching/filtering data. The Predicate takes one argument, and returns a Boolean. The Predicate interface is a functional interface defined in the java.util.function package. It represents a function that takes

Members Public

What Is a Function Interface In Java?

This lesson talks about the third functional interface, which is the Function.

Members Public

What is a Supplier Interface in Java?

This lesson talks about the second functional interface, which is the Supplier.

Members Public

Different Ways To Create Stream Objects

In this lesson, you will learn how to create streams in different ways with practical examples.

Members Public

What Are Sequential And Parallel Streams

In this lesson, you will learn about the two different modes of streams with examples.

Members Public

Reference to a Constructor (Method References)

In this lesson, you will learn about the fourth and final kind of method reference, "a reference to a constructor".

Members Public

Reference To An Instance method Of a Class (Method References)

In this lesson, you will learn about the third kind of method reference, "a reference to an instance method of an arbitrary object of a particular type". You will be introduced to a couple of simple examples and detailed explanations to understand this topic.

Members Public

Reference To Instance Method Of An Object (Method References)

In this lesson, you will learn about the second kind of method reference, "a reference to an instance method of an object". You will be introduced to complex object method references with example snippets and explanations.

Members Public

Reference to Static Method (Method References)

In this lesson, you will learn about the first kind of method reference, "a reference to static methods". You will be introduced to a complex object method reference with example snippets and explanations.

Members Public

Kinds Of Method References

In this lesson, you will be introduced to different kinds of method references and their syntaxes.