[
https://issues.apache.org/jira/browse/LANG-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085561#comment-13085561
]
Henri Yandell commented on LANG-483:
------------------------------------
I like the enum, but it's < 0, 0 and > 0; rather than -1, 0 and 1. I'm not sure
how often people use something other than -1 and +1; presumably when they're
being clever.
> 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.0.2
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira