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
Returns the value to which the specified key is mapped, or
the defaultValue if this cache contains no mapping for the key.
Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public static Object GetOrDefault( this IInvocableCache invocable, Object key, Object defaultValue ) |
Parameters
- invocable
- Type: Tangosol.Net.Cache..::..IInvocableCache
The interface it extends.
- key
- Type: System..::..Object
The key whose associated value is to be returned.
- defaultValue
- Type: System..::..Object
The default value of the key.