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

Henri Yandell commented on LANG-620:
------------------------------------

You can use it with non-Comparables, you just have to supply a Comparator. 

I think the comparison notion is built into the range concept. 

> Convert Range To An Interface
> -----------------------------
>
>                 Key: LANG-620
>                 URL: https://issues.apache.org/jira/browse/LANG-620
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 3.0
>            Reporter: Adrian Crum
>            Priority: Minor
>
> Range can only be used with types that implement Comparable. Rename Range to 
> ComparableRange, then extract an interface named Range. Types that don't 
> implement Comparable can then implement Range.

-- 
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