commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Kestle (JIRA)" <j...@apache.org>
Subject [jira] Created: (COLLECTIONS-260) TransformingComparator should have a constructor with just a Transformer
Date Fri, 13 Jul 2007 01:23:04 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message