Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Returns the hash code value for this cache.

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

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