Class ArrayUtils

java.lang.Object
io.usethesource.capsule.util.ArrayUtils

public class ArrayUtils extends Object
  • Constructor Details

    • ArrayUtils

      public ArrayUtils()
  • Method Details

    • arrayOf

      public static final <T> T[] arrayOf(T... items)
    • equals

      public static boolean equals(Object[] a1, Object[] a2)
    • copyAndSet

      @Deprecated public static Object[] copyAndSet(Object[] array, int index, Object elementNew)
      Deprecated.
    • copyAndMoveToBack

      public static Object[] copyAndMoveToBack(Object[] array, int indexOld, int indexNew, Object elementNew)
    • copyAndMoveToFront

      public static Object[] copyAndMoveToFront(Object[] array, int indexOld, int indexNew, Object elementNew)
    • copyAndInsert

      @Deprecated public static Object[] copyAndInsert(Object[] array, int index, Object elementNew)
      Deprecated.
    • copyAndRemove

      @Deprecated public static Object[] copyAndRemove(Object[] array, int index)
      Deprecated.