TransformingComparator should have a constructor with just a Transformer
------------------------------------------------------------------------
Key: COLLECTIONS-260
URL: https://issues.apache.org/jira/browse/COLLECTIONS-260
Project: Commons Collections
Issue Type: Improvement
Components: Comparator
Affects Versions: 3.2
Reporter: Stephen Kestle
Priority: Minor
Fix For: Generics
With generics, it's possible to have a constructor like:
TransformingComparator(Transformer<I, O extends Comparable> transformer) {
this(transformer, new ComparableComparator());
}
*NB: Pseudo code - that will not work as is
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]