You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2009/12/12 12:23:18 UTC
[jira] Commented: (LANG-532) Consider code in Collections
[ https://issues.apache.org/jira/browse/LANG-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789715#action_12789715 ]
Henri Yandell commented on LANG-532:
------------------------------------
I also think the Comparators themselves are interesting to Lang. Specifically:
NullComparator
ReverseComparator
ComparableComparator (which we now have a private copy of)
ComparatorChain
FixedOrderComparator
Basically all but BooleanComparator (which I think is useless and should be deleted) and TransformerComparator.
ComparatorUtils itself is mostly factory methods for these objects - I'm not sure we particularly need them. Also includes a min(Object,Object,Comparator) method which isn't too useful (basically null protection on the Comparator, with the 'odd' behaviour that it uses a ComparableComparator (even if not Comparable by the look of it).
We also have LANG-483 wanting to add a ComparisonUtils class.
> Consider code in Collections
> ----------------------------
>
> Key: LANG-532
> URL: https://issues.apache.org/jira/browse/LANG-532
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> If and only if Collections be considered dead for 4.x and beyond, then consider if there is any code that wants to be scavenged to live in Lang 3.x.
> Basic rules:
> * No implementations of Collections.
> * If a successor of Collections defined, then not something it has.
> Basically potential additions to java.util.Collections I suspect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.