Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-454

Add getCharArray() to CharRange

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: lang.*
    • Labels:
      None

      Description

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

        Attachments

        1. LANG-454-set.patch
          10 kB
          Vincent Ricard
        2. LANG-454-iterator.patch
          7 kB
          Vincent Ricard
        3. LANG-454.patch
          4 kB
          Vincent Ricard

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                skaffman Kenny MacLeod
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: