A DESCRIPTION OF THE REQUEST :
Methods should be added to Math that allow the min and max functions to be applied to an arbirtary number of elements.
JUSTIFICATION :
This would make it much more clear to write code that has to do a min/max comparison on more than two elements.
Methods should be added to Math that allow the min and max functions to be applied to an arbirtary number of elements.
JUSTIFICATION :
This would make it much more clear to write code that has to do a min/max comparison on more than two elements.
- duplicates
-
JDK-6239196 Addition of varargs version of Math.min() and Math.max()
-
- Closed
-
- relates to
-
JDK-6356743 java.util.Arrays does not have min(T[]), max(T[]) methods.
-
- Closed
-