Packagecom.threerings.util
Interfacepublic interface Hashable extends Equalable
ImplementorsEnum

Builds upon the Equalable interface to allow instances to be stored efficiently in Maps or Sets.



Public Methods
 MethodDefined by
 Inherited
equals(other:Object):Boolean
Returns true to indicate that the specified object is equal to this instance.
Equalable
  
hashCode():int
Return a hash code.
Hashable
Method detail
hashCode()method
public function hashCode():int

Return a hash code. This code must be identical for any two instances that are equals(), but it is not required that every non-equals() instance returns a unique code.

Returns
int