min(a,b) and max(a,b) equivalent in Java? August 23, 2023 by Tarik Math.min()? (Comes in several overloads for different types.)