max
Extension to find the highest value in a Flux of Comparable values and return it as a Mono of T.
Author
Simon Baslé
Since
1.0.0
Extension to find the highest value in a Flux and return it as a Mono. The highest value is defined by comparisons made using a provided Comparator.
Author
Simon Baslé
Since
1.0.0
Parameters
comp
The Comparator to use
Extension to find the highest value in a Flux and return it as a Mono. The highest value is defined by comparisons made using a provided function that behaves like a Comparator.
Author
Simon Baslé
Since
1.0.0
Parameters
comp
The comparison function to use (similar to a Comparator)