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 2010/04/27 09:31:33 UTC
[jira] Commented: (LANG-620) Convert Range To An Interface
[ 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.