Microsoft SDK for Java

compareArraysOfStrings

This method of the PermissionUtils Class compares two arrays of strings.

Syntax

public static int compareArraysOfStrings(String[] list1, String[] list2, int cmp);



Return Value

Returns a new comparison result, merged with the specified previous comparison result using mergeComparisonResults.

Parameters

list1 The first list of strings, or null.
list2 The second list of strings, or null.
cmp A previous comparison result for other resources of the permissions. For the first resource of a permission, this is typically SetComparison.EMPTY.

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