AbstractKeyBasedCacheGetHashCode Method  | 
.NET API Reference for Oracle® Coherence Community Edition 
 (14.1.1.0)
E55634-01
 
            Returns the hash code value for this cache.
            
 
    Namespace: 
   Tangosol.Net.Cache.Support
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic override int GetHashCode()
Return Value
Type: 
Int32
            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