Microsoft SDK for Java

concatVectors

This method of the PermissionUtils Class combines two vectors by copying their contents into a new Vector.

Syntax

public static Vector concatVectors(Vector v1, Vector v2);

CAUTION   This is not a deep copy. It is only safe for use with the IPermission.combine method when the element type is immutable, such as the String type.

Return Value

Returns a new vector containing the elements of v1, followed by the elements of v2. If either of the vectors are null, the other non-null vector is returned.

Parameters

v1 The first vector to combine, or null.
v2 The second vector to combine, or null.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.