commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-454) Add getCharArray() to CharRange
Date Sat, 11 Jul 2009 07:41:14 GMT

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

Henri Yandell commented on LANG-454:
------------------------------------

Iterator looks like the better choice, though does mean that people wanting to use foreach
will need to wrap it in a collection facade of some kind which is painful for the mentioned
use case of JSTL.

> Add getCharArray()  to CharRange
> --------------------------------
>
>                 Key: LANG-454
>                 URL: https://issues.apache.org/jira/browse/LANG-454
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.4
>            Reporter: Kenny MacLeod
>             Fix For: 3.0
>
>         Attachments: LANG-454-iterator.patch, LANG-454.patch
>
>
> org.apache.commons.lang.CharRange would be a lot more useful if it had a means to obtain
the characters in the range as a char array.
> i.e.
> new CharRange('a',''d').toCharArray() == new char[] { 'a', 'b', 'c', 'd' }

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


Mime
View raw message