Class ArrayUtils


  • public class ArrayUtils
    extends Object
    Array utilities
    Since:
    1.4.0
    Author:
    afarre
    • Constructor Detail

      • ArrayUtils

        public ArrayUtils()
    • Method Detail

      • concat

        public static final <T> T[] concat​(T[] _first,
                                           T[] _second)
        Concatenate two arrays of the same type
        Type Parameters:
        T - Type of the concatenated array
        Parameters:
        _first - First array
        _second - Second array
        Returns:
        array with the two arrays provided concatenated, if one of them is null return the other if both are null return null