Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-611 Consider improvements in LANG-396
  3. LANG-721

Complement ArrayUtils.addAll() variants with by-index and by-value removal methods

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0.1
    • lang.*
    • None

    Description

      these are:

      <T> T[] removeAll(T[] array, int... indices);
      byte[] removeAll(byte[] array, int... indices);
      short[] removeAll(short[] array, int... indices);
      int[] removeAll(int[] array, int... indices);
      char[] removeAll(char[] array, int... indices);
      long[] removeAll(long[] array, int... indices);
      float[] removeAll(float[] array, int... indices);
      double[] removeAll(double[] array, int... indices);
      boolean[] removeAll(boolean[] array, int... indices);
      
      <T> T[] removeElements(T[] array, Object... values);
      byte[] removeElements(byte[] array, byte... values);
      short[] removeElements(short[] array, short... values);
      int[] removeElements(int[] array, int... values);
      char[] removeElements(char[] array, char... values);
      long[] removeElements(long[] array, long... values);
      float[] removeElements(float[] array, float... values);
      double[] removeElements(double[] array, double... values);
      boolean[] removeElements(boolean[] array, boolean... values);
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbenson Matthew Jason Benson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: