You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/09/03 21:59:52 UTC

[jira] [Resolved] (MATH-1001) Add Frequency#incrementValue(char|int|long) methods ?

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

Thomas Neidhart resolved MATH-1001.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3

Applied change in r1519813.
Added also a clarification to the javadoc wrt short and byte values, which will be implicitly converted to int.
                
> Add Frequency#incrementValue(char|int|long) methods ?
> -----------------------------------------------------
>
>                 Key: MATH-1001
>                 URL: https://issues.apache.org/jira/browse/MATH-1001
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Sebb
>             Fix For: 3.3
>
>
> The Frequency class has addValue(char|int|long) methods, but the incrementValue method only supports Comparable<?>
> It would avoid casting warnings in code if primitives were supported, as well as being more consistent.

--
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: http://www.atlassian.com/software/jira