commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-723) Add mode and median Comparable... methods to ObjectUtils
Date Sun, 17 Jul 2011 04:26:00 GMT

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

Matt Benson resolved LANG-723.
------------------------------

    Resolution: Fixed

Committed revision 1147522.

Implemented median with the decision that an even number of values would result in an approximation
by simply returning the lower of the two middle values.  Also included {{<T> /* not
required to be comparable */ T median(Comparator<T>, T...)}}


> Add mode and median Comparable... methods to ObjectUtils
> --------------------------------------------------------
>
>                 Key: LANG-723
>                 URL: https://issues.apache.org/jira/browse/LANG-723
>             Project: Commons Lang
>          Issue Type: Sub-task
>          Components: General
>            Reporter: Matt Benson
>            Priority: Minor
>             Fix For: 3.x
>
>
> ObjectUtils is the class where we have our Comparable support, so is the correct place
for these.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message