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/02/03 08:33:18 UTC

[jira] Closed: (LANG-454) Add getCharArray() to CharRange

     [ https://issues.apache.org/jira/browse/LANG-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-454.
------------------------------

    Resolution: Fixed

Iterator patch applied - thanks Vincent.

svn ci -m "Adding Vincent Ricard's patch to CharRange.java providing an iterator that lets you walk the chars in the range. LANG-454"
Sending        src/main/java/org/apache/commons/lang3/CharRange.java
Sending        src/test/java/org/apache/commons/lang3/CharRangeTest.java
Transmitting file data ..
Committed revision 905919.


> Add getCharArray()  to CharRange
> --------------------------------
>
>                 Key: LANG-454
>                 URL: https://issues.apache.org/jira/browse/LANG-454
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 2.4
>            Reporter: Kenny MacLeod
>             Fix For: 3.0
>
>         Attachments: LANG-454-iterator.patch, LANG-454-set.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.