WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIHashable

IID:17e595fa-b57a-4933-bd0f-b1812e8ab188
Inherits From:nsISupports
Status:FROZEN - This interface will not change in the Mozilla 1.x lifetime

Represents an object that can be stored in a hashtable.


Properties

readonly PRUint32 hashCode

A generated hashcode for this object. Objects that are equivalent must have the same hash code. Getting this property should never throw an exception!


Methods

PRBool equals ( nsIHashable other )

PRBool equals ( nsIHashable other )

Is this object the equivalent of the other object?

Arguments:
other

References

This interface is passed as an argument to the following methods:

nsIHashable.equals

Reference documentation is generated from Mozilla's source.