min(a,b) and max(a,b) equivalent in Java?

Math.min()? (Comes in several overloads for different types.)

Leave a Comment