[ 
https://issues.apache.org/jira/browse/LANG-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774223#action_12774223
 ] 

Henri Yandell commented on LANG-551:
------------------------------------

Thanks Sebb. Both minor points fixed.

I'll work on the test for this - obviously wanting to make sure I cover all of 
the old use cases and get some new ones in.

Two open questions I have are:

1) Should it be Serializable
2) How do I do the following:

The class itself will be a generic on <T>, nothing special. I then want a 
particular pair of the constructors to only allow T's that extend Comparable. 
Anyone have any ideas how to do that?

Do I need to setup a subclass for those two constructors that are generic on <T 
extends Comparable<? super T>>, should I rely on runtime checking or is there a 
better way?

> Replace Range classes with generic version
> ------------------------------------------
>
>                 Key: LANG-551
>                 URL: https://issues.apache.org/jira/browse/LANG-551
>             Project: Commons Lang
>          Issue Type: Task
>            Reporter: Henri Yandell
>             Fix For: 3.0
>
>         Attachments: Range.java
>
>
> Possible direction of deleting the math.Range classes and replacing with a 
> Range class based on Comparators.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to