Microsoft SDK for Java

equals

This method of the _Guid Class tests whether the GUID represented by the parameter g2 is equal to the GUID represented by the current _Guid object. Two GUIDs are equal only if each of the 128 bits in the two GUIDs are equal.

Syntax

public boolean equals(Object g2);

Return Value

Returns true if each of the 128 bits in the two GUIDs are equal; otherwise, returns false.

Parameters

g2 The object whose GUID is being compared against the current _Guid object.

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