commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-483) Add ComparisonUtils to Commons Lang
Date Sat, 27 Feb 2010 03:34:05 GMT

    [ 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.


Mime
View raw message