commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <>
Subject [jira] [Updated] (MATH-944) Consider making a generic version of class Frequency
Date Sun, 10 Mar 2013 21:27:12 GMT


Thomas Neidhart updated MATH-944:

    Priority: Minor  (was: Major)
> Consider making a generic version of class Frequency
> ----------------------------------------------------
>                 Key: MATH-944
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Thomas Neidhart
>            Priority: Minor
>             Fix For: 4.0
>         Attachments:
> The current version of the Frequency class is quite complex, as it has to handle different
input values and does a lot of casting.
> The class is also not very safe in the sense that adding different data types will lead
to runtime exceptions.
> The class could be simplified by introducing a generic version. The only downside so
far is that the current version treats ints and longs together, which would not be possible
with a generic version.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message