This method of the UIPermission Class compares the UIPermission instance with the specified permission object.
public int compareSet(Object target);
Returns one of the following constants:
DISJOINT
EMPTY
OVERLAP
EQUAL
SUBSET
SUPERSET
EMPTY_SUBSET
EMPTY_SUPERSET
target | The permission object that the UIPermission instance is compared with. This parameter must be an instance of the UIPermission class. |
IllegalArgumentException if the specified Object is not an instance of UIPermission.