Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-261

Add generics to Frequency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None
    • None

    Description

      I've attempted to add generics to Frequency.

      This requires a minor change to the API, in that Objects to be used with the class need to be Comparable.

      This will break some code, e.g. one change was needed to the test cases.

      Attachments

        1. Frequency2.patch
          4 kB
          Sebb

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: