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

Support char array converters on ArrayUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.2
    • None
    • None

    Description

      I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:

      public static char[] toPrimitive(Character[] array)
      public static char[] toPrimitive(Character[] array, char valueForNull)
      public static Object[] toObject(char[] array)

      Attachments

        1. commons-lang_ArrayUtils-with-test.patch
          6 kB
          Andres Almiray
        2. commons-lang_ArrayUtils.patch
          3 kB
          Andres Almiray
        3. ArrayUtils.txt
          3 kB
          Andres Almiray

        Activity

          People

            Unassigned Unassigned
            aalmiray Andres Almiray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: