Class ArrayUtils


  • public abstract class ArrayUtils
    extends java.lang.Object
    Some utilities for dealing with Arrays.
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object[] combine​(java.lang.Object[] aArray1, java.lang.Object[] aArray2)
      Combines two arrays.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArrayUtils

        public ArrayUtils()
    • Method Detail

      • combine

        public static java.lang.Object[] combine​(java.lang.Object[] aArray1,
                                                 java.lang.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.