Tagged: supplier

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.