Class ArrayUtils

java.lang.Object
com.tridion.util.ArrayUtils

public final class ArrayUtils extends Object
Array utils.
  • Method Details

    • concat

      public static <T> T[] concat(T[] a, T[] b)
    • concat

      public static byte[] concat(byte[] a, byte[] b)
    • isNotEmpty

      public static <T> boolean isNotEmpty(T[] a)
    • checkElementIndexIsInRange

      public static boolean checkElementIndexIsInRange(int elementIndex, int length)
      This method checks given elementIndex is less than or equals to length and elementIndex is greater than zero.
      Parameters:
      elementIndex - this value will be checked grater than zero and less than or equal to length.
      length - length to compare
      Returns:
      true or false based on condition