Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4254492

Math.min() and Math.max() extension

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.2
    • core-libs
    • x86
    • windows_95

      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)
      ======================================================================

            darcy Joe Darcy
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: