Course contentsShow
Java
Lesson 1687 of 2,87035. Functional InterfacesPro lesson

BinaryOperator.minBy and maxBy: Comparator-Based Selection

Use the static minBy and maxBy factory methods to create operators that return the smaller or larger of two values.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.