Binary operator

This lesson explores the Binary operator functional interface in Java.

We'll cover the following...

BinaryOperator<T>

BinaryOperator<T> is a functional interface that inherits from BiFunction<T, T, T> interface. The BinaryOperator<T> interface takes only one parameter as compared to BiFunction<T, T, T>, which ...