Class ArrayUtils

java.lang.Object
org.apache.uima.internal.util.ArrayUtils

public abstract class ArrayUtils extends Object
Some utilities for dealing with Arrays.
  • Constructor Details

    • ArrayUtils

      public ArrayUtils()
  • Method Details

    • combine

      public static Object[] combine(Object[] aArray1, Object[] aArray2)
      Combines two arrays. If the two arrays are of the same type, the resulting array will also be of that type, otherwise it will be an Object[].
      Parameters:
      aArray1 - first non-null array to combine
      aArray2 - second non-null array to combine
      Returns:
      an array consisting of all the elements of aArray1 followed by all the elements of aArray2.