This method of the PermissionUtils Class compares two arrays of strings.
public static int compareArraysOfStrings(String[] list1, String[] list2, int cmp);
Returns a new comparison result, merged with the specified previous comparison result using mergeComparisonResults.
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. |