You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2010/02/27 04:34:05 UTC
[jira] Commented: (LANG-483) Add ComparisonUtils to Commons Lang
[ https://issues.apache.org/jira/browse/LANG-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839153#action_12839153 ]
Paul Benedict commented on LANG-483:
------------------------------------
I would pull most of these utility methods into their proper places like ArrayUtils. My addition would be a new enum that represents LESS(-1), EQUAL(0), GREATER(1) so that I can perform switch statements on comparison results.
> Add ComparisonUtils to Commons Lang
> -----------------------------------
>
> Key: LANG-483
> URL: https://issues.apache.org/jira/browse/LANG-483
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Benjamin McCann
> Fix For: 3.1
>
> Attachments: ComparisonUtils.java, ComparisonUtilsTest.java
>
>
> It'd be impossible to guess how many times code as been written to find the position of the maximum element in an array or the value of the minimum element in a list, etc. This class will handle all of that.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.