Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Compares the specified object with this cache for equality.
Namespace: Tangosol.Net.Cache.Support
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public override bool Equals( Object o ) |
Parameters
- o
- Type: System..::..Object
Object to be compared for equality with this cache.
Return Value
true if the specified object is equal to this cache.Remarks
Returns true if the given object is also a cache and the
two caches represent the same mappings. More formally, two caches
t1and
t2represent the same mappings if
t1.Keys.Equals(t2.Keys)and for every key
kin
t1.Keys,
(t1[k]==null ? t2[k]==null : t1[k].Equals(t2[k]). This ensures that the Equals method works properly across different implementations of the cache interface.