BiFunction Interface In Java 8

BiFunction Interface In Java 8 A BiFunction Interface is extension of Function Interface in java 8, it takes two parameters of Type T, V and...

Function Interface in Java 8

Function Interface in Java 8 A Function Interface in Java 8 takes an object of a type as an argument and returns another object of...

Supplier Functional Interface in Java 8

This interface is an opposite of Consumer interface. A Supplier Interface takes no parameters and returns an object. [crayon-5903d4732ede8862395252/] 1) Simple Example of Supplier interface [crayon-5903d4732edee716752263/]...

BiConsumer Interface In Java 8

We also have BiConsumer interface. BiConsumer interface take 2 arugments. A BiConsumer consumes 2 objects instead of one and doestn’t return anything. [crayon-5903d4732ef16640425618/]    

Consumer Functional Interface In Java 8

A Consumer Interface represents an operation that accepts a single input argument and returns no result. The consumer accepts a single argument by calling its...

Functional Interfaces Types In Java 8

Java 8 has defined a lot of Functional Interfaces to be used extensively in lambda expressions. Following is the list of functional interfaces defined in...

Functional Interface in Java 8

To support Lambda Expression in Java 8 Functional interfaces have been introduced. Functional interfaces have a single task to carry out. For example, Runnable, Comparable,...

Map Filter Reduce Pattern and Stream API

 Map Filter Reduce on a Stream of Employee 1) First way of writing it [crayon-5903d4732f2f3802282093/] It takes a list of employee called employeeList, opens a...