Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Returns the hash code value for this cache.

Namespace:  Tangosol.Net.Cache.Support
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public override int GetHashCode()

Return Value

The hash code value for this cache.

Remarks

The hash code of a cache is defined to be the sum of the hash codes of each entry in the cache's Entries. This ensures that
t1.Equals(t2)
implies that
t1.GetHashCode()==t2.GetHashCode()
for any two caches
t1
and
t2
, as required by the general contract of object.GetHashCode.

See Also