Name: rlT66838 Date: 07/15/99
Adding the following two methods to the Math class would
increase the consistency and convenient of writing code in
the Java language.Implementing the Comparable interface is the
minimum requirement to determine the results of both methods
listed below.
public Comparable min(Comparable a, Comparable b){}
and
public Comparable max(Comparable a, Comparable b){}
(Review ID: 85641)
======================================================================
Adding the following two methods to the Math class would
increase the consistency and convenient of writing code in
the Java language.Implementing the Comparable interface is the
minimum requirement to determine the results of both methods
listed below.
public Comparable min(Comparable a, Comparable b){}
and
public Comparable max(Comparable a, Comparable b){}
(Review ID: 85641)
======================================================================
- relates to
-
JDK-8011917 java.util.stream.Collectors
-
- Closed
-
-
JDK-6356743 java.util.Arrays does not have min(T[]), max(T[]) methods.
-
- Closed
-