Microsoft SDK for Java

compareSet

This method of the PrintingPermission Class compares the PrintingPermission instance with another permission object.

Syntax

public int compareSet(Object other);

Return Value

Returns EQUAL if the other object is an instance of the PrintingPermission class.

Parameters

other The permission object that the PrintingPermission instance is compared with. This parameter must be an instance of the PrintingPermission class.

Exceptions

IllegalArgumentException if the specified Object is not an instance of the PrintingPermission class.

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