Class ArrayUtils

java.lang.Object
VASSAL.tools.ArrayUtils

@Deprecated(since="2021-12-01", forRemoval=true) public class ArrayUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Use ArrayUtils.
Since:
3.1.0
Author:
Joel Uckelman
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean[]
    append(boolean[] orig, boolean e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static boolean[]
    append(boolean[] a, boolean... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static byte[]
    append(byte[] orig, byte e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static byte[]
    append(byte[] a, byte... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static char[]
    append(char[] orig, char e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static char[]
    append(char[] a, char... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static double[]
    append(double[] orig, double e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static double[]
    append(double[] a, double... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static float[]
    append(float[] orig, float e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static float[]
    append(float[] a, float... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int[]
    append(int[] orig, int e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int[]
    append(int[] a, int... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long[]
    append(long[] orig, long e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long[]
    append(long[] a, long... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[]
    append(short[] orig, short e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[]
    append(short[] a, short... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T, X extends T, Y extends T>
    T[]
    append(Class<T[]> type, X[] orig, Y e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T, X extends T, Y extends T>
    T[]
    append(Class<T[]> type, X[] a, Y... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T> T[]
    append(T[] orig, T e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T> T[]
    append(T[] a, T... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static boolean[]
    insert(boolean[] orig, int pos, boolean e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static boolean[]
    insert(boolean[] a, int pos, boolean... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static byte[]
    insert(byte[] orig, int pos, byte e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static byte[]
    insert(byte[] a, int pos, byte... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static char[]
    insert(char[] orig, int pos, char e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static char[]
    insert(char[] a, int pos, char... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static double[]
    insert(double[] orig, int pos, double e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static double[]
    insert(double[] a, int pos, double... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static float[]
    insert(float[] orig, int pos, float e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static float[]
    insert(float[] a, int pos, float... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int[]
    insert(int[] orig, int pos, int e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int[]
    insert(int[] a, int pos, int... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long[]
    insert(long[] orig, int pos, long e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long[]
    insert(long[] a, int pos, long... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[]
    insert(short[] orig, int pos, short e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[]
    insert(short[] a, int pos, short... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T, X extends T, Y extends T>
    T[]
    insert(Class<T[]> type, X[] orig, int pos, Y e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T, X extends T, Y extends T>
    T[]
    insert(Class<T[]> type, X[] a, int pos, Y... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T> T[]
    insert(T[] orig, int pos, T e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T> T[]
    insert(T[] a, int pos, T... b)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static boolean[]
    prepend(boolean[] orig, boolean e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static byte[]
    prepend(byte[] orig, byte e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static char[]
    prepend(char[] orig, char e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static double[]
    prepend(double[] orig, double e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static float[]
    prepend(float[] orig, float e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int[]
    prepend(int[] orig, int e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long[]
    prepend(long[] orig, long e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[]
    prepend(short[] orig, short e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T, X extends T, Y extends T>
    T[]
    prepend(Class<T[]> type, X[] orig, Y e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T> T[]
    prepend(T[] orig, T e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static float[]
    remove(float[] orig, float e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int[]
    remove(int[] orig, int e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long[]
    remove(long[] orig, long e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[]
    remove(short[] orig, short e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <T> T[]
    remove(T[] orig, T e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • prepend

      public static boolean[] prepend(boolean[] orig, boolean e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static byte[] prepend(byte[] orig, byte e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static char[] prepend(char[] orig, char e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static double[] prepend(double[] orig, double e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static float[] prepend(float[] orig, float e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static int[] prepend(int[] orig, int e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static long[] prepend(long[] orig, long e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static short[] prepend(short[] orig, short e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static <T> T[] prepend(T[] orig, T e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepend

      public static <T, X extends T, Y extends T> T[] prepend(Class<T[]> type, X[] orig, Y e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static boolean[] append(boolean[] orig, boolean e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static byte[] append(byte[] orig, byte e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static char[] append(char[] orig, char e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static double[] append(double[] orig, double e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static float[] append(float[] orig, float e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static int[] append(int[] orig, int e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static long[] append(long[] orig, long e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static short[] append(short[] orig, short e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static <T> T[] append(T[] orig, T e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static <T, X extends T, Y extends T> T[] append(Class<T[]> type, X[] orig, Y e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static boolean[] append(boolean[] a, boolean... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static byte[] append(byte[] a, byte... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static char[] append(char[] a, char... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static double[] append(double[] a, double... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static float[] append(float[] a, float... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static int[] append(int[] a, int... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static long[] append(long[] a, long... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static short[] append(short[] a, short... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static <T> T[] append(T[] a, T... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public static <T, X extends T, Y extends T> T[] append(Class<T[]> type, X[] a, Y... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static boolean[] insert(boolean[] orig, int pos, boolean e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static byte[] insert(byte[] orig, int pos, byte e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static char[] insert(char[] orig, int pos, char e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static double[] insert(double[] orig, int pos, double e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static float[] insert(float[] orig, int pos, float e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static int[] insert(int[] orig, int pos, int e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static long[] insert(long[] orig, int pos, long e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static short[] insert(short[] orig, int pos, short e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static <T> T[] insert(T[] orig, int pos, T e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static <T, X extends T, Y extends T> T[] insert(Class<T[]> type, X[] orig, int pos, Y e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static boolean[] insert(boolean[] a, int pos, boolean... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static byte[] insert(byte[] a, int pos, byte... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static char[] insert(char[] a, int pos, char... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static double[] insert(double[] a, int pos, double... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static float[] insert(float[] a, int pos, float... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static int[] insert(int[] a, int pos, int... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static long[] insert(long[] a, int pos, long... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static short[] insert(short[] a, int pos, short... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static <T> T[] insert(T[] a, int pos, T... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public static <T, X extends T, Y extends T> T[] insert(Class<T[]> type, X[] a, int pos, Y... b)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • remove

      public static float[] remove(float[] orig, float e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • remove

      public static int[] remove(int[] orig, int e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • remove

      public static long[] remove(long[] orig, long e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • remove

      public static short[] remove(short[] orig, short e)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • remove

      public static <T> T[] remove(T[] orig, T e)
      Deprecated, for removal: This API element is subject to removal in a future version.