Tagged: functionalInterfaces

Supplier in Java8 is typically used as a factory methods to get objects 0

Supplier in java8 with code example

A Supplier in java8 is a functional interface with only one abstract method get() which returns an object.Supplier’s are usually used as Factory method’s.

functional interfaces in java8 1

Java 8 Functional Interfaces

Functional interfaces provide target types for lambda expressions and method references.This post explains different functional interfaces of java8 with code examples.