Public Member Functions | Public Attributes

nsIHashable Interface Reference

Represents an object that can be stored in a hashtable. More...

import "nsIHashable.idl";

Inheritance diagram for nsIHashable:

List of all members.

Public Member Functions

boolean equals (in nsIHashable aOther)
 Is this object the equivalent of the other object?

Public Attributes

readonly attribute unsigned long hashCode
 A generated hashcode for this object.

Detailed Description

Represents an object that can be stored in a hashtable.

Status:
FROZEN - This interface will not change in the Mozilla 1.x lifetime

Member Function Documentation

boolean nsIHashable::equals ( in nsIHashable  aOther  ) 

Is this object the equivalent of the other object?


Member Data Documentation

readonly attribute unsigned long nsIHashable::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!


The documentation for this interface was generated from the following file: