Package VASSAL.tools

Class ArrayUtils

java.lang.Object
VASSAL.tools.ArrayUtils

@Deprecated public class ArrayUtils extends Object
Deprecated.
Use ArrayUtils.
Since:
3.1.0
Author:
Joel Uckelman
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean[]
    append​(boolean[] orig, boolean e)
    Deprecated.
    static boolean[]
    append​(boolean[] a, boolean... b)
    Deprecated.
    static byte[]
    append​(byte[] orig, byte e)
    Deprecated.
    static byte[]
    append​(byte[] a, byte... b)
    Deprecated.
    static char[]
    append​(char[] orig, char e)
    Deprecated.
    static char[]
    append​(char[] a, char... b)
    Deprecated.
    static double[]
    append​(double[] orig, double e)
    Deprecated.
    static double[]
    append​(double[] a, double... b)
    Deprecated.
    static float[]
    append​(float[] orig, float e)
    Deprecated.
    static float[]
    append​(float[] a, float... b)
    Deprecated.
    static int[]
    append​(int[] orig, int e)
    Deprecated.
    static int[]
    append​(int[] a, int... b)
    Deprecated.
    static long[]
    append​(long[] orig, long e)
    Deprecated.
    static long[]
    append​(long[] a, long... b)
    Deprecated.
    static short[]
    append​(short[] orig, short e)
    Deprecated.
    static short[]
    append​(short[] a, short... b)
    Deprecated.
    static <T,​ X extends T,​ Y extends T>
    T[]
    append​(Class<T[]> type, X[] orig, Y e)
    Deprecated.
    static <T,​ X extends T,​ Y extends T>
    T[]
    append​(Class<T[]> type, X[] a, Y... b)
    Deprecated.
    static <T> T[]
    append​(T[] orig, T e)
    Deprecated.
    static <T> T[]
    append​(T[] a, T... b)
    Deprecated.
    static boolean[]
    insert​(boolean[] orig, int pos, boolean e)
    Deprecated.
    static boolean[]
    insert​(boolean[] a, int pos, boolean... b)
    Deprecated.
    static byte[]
    insert​(byte[] orig, int pos, byte e)
    Deprecated.
    static byte[]
    insert​(byte[] a, int pos, byte... b)
    Deprecated.
    static char[]
    insert​(char[] orig, int pos, char e)
    Deprecated.
    static char[]
    insert​(char[] a, int pos, char... b)
    Deprecated.
    static double[]
    insert​(double[] orig, int pos, double e)
    Deprecated.
    static double[]
    insert​(double[] a, int pos, double... b)
    Deprecated.
    static float[]
    insert​(float[] orig, int pos, float e)
    Deprecated.
    static float[]
    insert​(float[] a, int pos, float... b)
    Deprecated.
    static int[]
    insert​(int[] orig, int pos, int e)
    Deprecated.
    static int[]
    insert​(int[] a, int pos, int... b)
    Deprecated.
    static long[]
    insert​(long[] orig, int pos, long e)
    Deprecated.
    static long[]
    insert​(long[] a, int pos, long... b)
    Deprecated.
    static short[]
    insert​(short[] orig, int pos, short e)
    Deprecated.
    static short[]
    insert​(short[] a, int pos, short... b)
    Deprecated.
    static <T,​ X extends T,​ Y extends T>
    T[]
    insert​(Class<T[]> type, X[] orig, int pos, Y e)
    Deprecated.
    static <T,​ X extends T,​ Y extends T>
    T[]
    insert​(Class<T[]> type, X[] a, int pos, Y... b)
    Deprecated.
    static <T> T[]
    insert​(T[] orig, int pos, T e)
    Deprecated.
    static <T> T[]
    insert​(T[] a, int pos, T... b)
    Deprecated.
    static boolean[]
    prepend​(boolean[] orig, boolean e)
    Deprecated.
    static byte[]
    prepend​(byte[] orig, byte e)
    Deprecated.
    static char[]
    prepend​(char[] orig, char e)
    Deprecated.
    static double[]
    prepend​(double[] orig, double e)
    Deprecated.
    static float[]
    prepend​(float[] orig, float e)
    Deprecated.
    static int[]
    prepend​(int[] orig, int e)
    Deprecated.
    static long[]
    prepend​(long[] orig, long e)
    Deprecated.
    static short[]
    prepend​(short[] orig, short e)
    Deprecated.
    static <T,​ X extends T,​ Y extends T>
    T[]
    prepend​(Class<T[]> type, X[] orig, Y e)
    Deprecated.
    static <T> T[]
    prepend​(T[] orig, T e)
    Deprecated.
    static float[]
    remove​(float[] orig, float e)
    Deprecated.
    static int[]
    remove​(int[] orig, int e)
    Deprecated.
    static long[]
    remove​(long[] orig, long e)
    Deprecated.
    static short[]
    remove​(short[] orig, short e)
    Deprecated.
    static <T> T[]
    remove​(T[] orig, T e)
    Deprecated.

    Methods inherited from class java.lang.Object

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

    • prepend

      @Deprecated public static boolean[] prepend(boolean[] orig, boolean e)
      Deprecated.
    • prepend

      @Deprecated public static byte[] prepend(byte[] orig, byte e)
      Deprecated.
    • prepend

      @Deprecated public static char[] prepend(char[] orig, char e)
      Deprecated.
    • prepend

      @Deprecated public static double[] prepend(double[] orig, double e)
      Deprecated.
    • prepend

      @Deprecated public static float[] prepend(float[] orig, float e)
      Deprecated.
    • prepend

      @Deprecated public static int[] prepend(int[] orig, int e)
      Deprecated.
    • prepend

      @Deprecated public static long[] prepend(long[] orig, long e)
      Deprecated.
    • prepend

      @Deprecated public static short[] prepend(short[] orig, short e)
      Deprecated.
    • prepend

      @Deprecated public static <T> T[] prepend(T[] orig, T e)
      Deprecated.
    • prepend

      @Deprecated public static <T,​ X extends T,​ Y extends T> T[] prepend(Class<T[]> type, X[] orig, Y e)
      Deprecated.
    • append

      @Deprecated public static boolean[] append(boolean[] orig, boolean e)
      Deprecated.
    • append

      @Deprecated public static byte[] append(byte[] orig, byte e)
      Deprecated.
    • append

      @Deprecated public static char[] append(char[] orig, char e)
      Deprecated.
    • append

      @Deprecated public static double[] append(double[] orig, double e)
      Deprecated.
    • append

      @Deprecated public static float[] append(float[] orig, float e)
      Deprecated.
    • append

      @Deprecated public static int[] append(int[] orig, int e)
      Deprecated.
    • append

      @Deprecated public static long[] append(long[] orig, long e)
      Deprecated.
    • append

      @Deprecated public static short[] append(short[] orig, short e)
      Deprecated.
    • append

      @Deprecated public static <T> T[] append(T[] orig, T e)
      Deprecated.
    • append

      @Deprecated public static <T,​ X extends T,​ Y extends T> T[] append(Class<T[]> type, X[] orig, Y e)
      Deprecated.
    • append

      @Deprecated public static boolean[] append(boolean[] a, boolean... b)
      Deprecated.
    • append

      @Deprecated public static byte[] append(byte[] a, byte... b)
      Deprecated.
    • append

      @Deprecated public static char[] append(char[] a, char... b)
      Deprecated.
    • append

      @Deprecated public static double[] append(double[] a, double... b)
      Deprecated.
    • append

      @Deprecated public static float[] append(float[] a, float... b)
      Deprecated.
    • append

      @Deprecated public static int[] append(int[] a, int... b)
      Deprecated.
    • append

      @Deprecated public static long[] append(long[] a, long... b)
      Deprecated.
    • append

      @Deprecated public static short[] append(short[] a, short... b)
      Deprecated.
    • append

      @Deprecated public static <T> T[] append(T[] a, T... b)
      Deprecated.
    • append

      @Deprecated public static <T,​ X extends T,​ Y extends T> T[] append(Class<T[]> type, X[] a, Y... b)
      Deprecated.
    • insert

      @Deprecated public static boolean[] insert(boolean[] orig, int pos, boolean e)
      Deprecated.
    • insert

      @Deprecated public static byte[] insert(byte[] orig, int pos, byte e)
      Deprecated.
    • insert

      @Deprecated public static char[] insert(char[] orig, int pos, char e)
      Deprecated.
    • insert

      @Deprecated public static double[] insert(double[] orig, int pos, double e)
      Deprecated.
    • insert

      @Deprecated public static float[] insert(float[] orig, int pos, float e)
      Deprecated.
    • insert

      @Deprecated public static int[] insert(int[] orig, int pos, int e)
      Deprecated.
    • insert

      @Deprecated public static long[] insert(long[] orig, int pos, long e)
      Deprecated.
    • insert

      @Deprecated public static short[] insert(short[] orig, int pos, short e)
      Deprecated.
    • insert

      @Deprecated public static <T> T[] insert(T[] orig, int pos, T e)
      Deprecated.
    • insert

      @Deprecated public static <T,​ X extends T,​ Y extends T> T[] insert(Class<T[]> type, X[] orig, int pos, Y e)
      Deprecated.
    • insert

      @Deprecated public static boolean[] insert(boolean[] a, int pos, boolean... b)
      Deprecated.
    • insert

      @Deprecated public static byte[] insert(byte[] a, int pos, byte... b)
      Deprecated.
    • insert

      @Deprecated public static char[] insert(char[] a, int pos, char... b)
      Deprecated.
    • insert

      @Deprecated public static double[] insert(double[] a, int pos, double... b)
      Deprecated.
    • insert

      @Deprecated public static float[] insert(float[] a, int pos, float... b)
      Deprecated.
    • insert

      @Deprecated public static int[] insert(int[] a, int pos, int... b)
      Deprecated.
    • insert

      @Deprecated public static long[] insert(long[] a, int pos, long... b)
      Deprecated.
    • insert

      @Deprecated public static short[] insert(short[] a, int pos, short... b)
      Deprecated.
    • insert

      @Deprecated public static <T> T[] insert(T[] a, int pos, T... b)
      Deprecated.
    • insert

      @Deprecated public static <T,​ X extends T,​ Y extends T> T[] insert(Class<T[]> type, X[] a, int pos, Y... b)
      Deprecated.
    • remove

      @Deprecated public static float[] remove(float[] orig, float e)
      Deprecated.
    • remove

      @Deprecated public static int[] remove(int[] orig, int e)
      Deprecated.
    • remove

      @Deprecated public static long[] remove(long[] orig, long e)
      Deprecated.
    • remove

      @Deprecated public static short[] remove(short[] orig, short e)
      Deprecated.
    • remove

      @Deprecated public static <T> T[] remove(T[] orig, T e)
      Deprecated.