commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MATH-261) Add generics to Frequency
Date Fri, 17 Apr 2009 18:14:15 GMT

     [ https://issues.apache.org/jira/browse/MATH-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated MATH-261:
----------------------

    Attachment: Frequency2.patch

Smaller Generics patch.

Does not change any public methods, except:

public Iterator  valuesIterator()
   is now
public Iterator<Comparable<?>> valuesIterator()

I don't think this can cause any problems.

The patch does not address all the generics issues - only the simpler ones - but it is a start.

> Add generics to Frequency
> -------------------------
>
>                 Key: MATH-261
>                 URL: https://issues.apache.org/jira/browse/MATH-261
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Sebb
>             Fix For: 2.0
>
>         Attachments: Frequency2.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message