Class Utils.ArrayUtils

java.lang.Object
net.risingworld.api.utils.Utils.ArrayUtils
Enclosing class:
Utils

public abstract static class Utils.ArrayUtils extends Object
  • Constructor Details

    • ArrayUtils

      public ArrayUtils()
  • Method Details

    • contains

      public static <T> boolean contains(T[] array, T value)
    • contains

      public static boolean contains(int[] array, int value)
    • contains

      public static boolean contains(byte[] array, byte value)
    • indexOf

      public static <T> int indexOf(T[] array, T value)
    • shiftRight

      public static <T> void shiftRight(T[] array, int start, int end)
    • append

      public static String[] append(String[] array, String value)
    • append

      public static int[] append(int[] array, int value)
    • append

      public static byte[] append(byte[] array, byte value)
    • resize

      public static String[] resize(String[] array, int newLength)
    • resize

      public static int[] resize(int[] array, int newLength)
    • resize

      public static byte[] resize(byte[] array, int newLength)
    • removeEntries

      public static String[] removeEntries(String[] array, String value)
    • removeEntries

      public static int[] removeEntries(int[] array, int value)
    • shuffle

      public static void shuffle(int[] array, int from, int to)