Class ArrayUtils

    • Method Detail

      • arrayMerge

        public static <T> T[] arrayMerge​(T[]... arrays)
        Merges any number of Array.

        Comes from :

        arrays - several arrays
        a merged array
      • intersect

        public static <T> T[] intersect​(T[]... arrays)
        Method for intersecting arrays elements. Copy of the first array and remove progressively elements if not found in the other arrays.

        This method will keep the initial order of elements (as found in the first array).