Utils.arrayUnion

Overview | Methods | This Package | All Packages

Utils.arrayUnion

Creates a new array from two existing arrays.

Syntax

public static Object[] arrayUnion( Object[] array1, Object[] array2 )

Parameters

array1

The first array to join.

array2

The second array to join.

Return Value

Returns the union of the two arrays. If either array is null, null is returned. If the length of either array is zero, the first array is returned.