The key/value pair of a IMap<TKey, TValue>.
Inheritance Hierarchy
Members
No filters for this type
Constructors
Properties
Methods
Two instances of this class are considered equal if they have the same values for each property.
final
Parameters
- obj: any
- The other instance to test for equality.
Return Value
- boolean
trueif both objects are equal.
The hash code is a numeric value that can be used to treat this object as a key in a hash table or similar data structure.
Two objects that are considered equal must have the same hash code. However, the reverse does not hold and two objects having the same hash code don't have to be equal. Ideally, the hash code should be roughly uniformly-distributed to prevent hash tables from performing poorly. Calculating the hash code is also a potentially frequent operation and should therefore be fast.
final
Return Value
- number
- the hash code for this object