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

[lang] add remove methods to ArrayUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None
    • Operating System: other
      Platform: Other

    • 27778

    Description

      Hi,

      I need remove methods for arrays. More in specific, I could use the following
      methods on ArrayUtils:

      Object[] remove(Object[] array, int index);
      Object[] removeElement(Object[] array, Object element);

      and the same for some primitive types...

      I'll attach a patch for ArrayUtils and a junit test. It would be great if this
      could be added to ArrayUtils.

      thanks,
      Maarten

      Attachments

        Activity

          People

            Unassigned Unassigned
            maartenc Maarten Coene
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: