Returns the value for the specified key, or null if this map does not contain this key.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax
Parameters
- key
- Type: SystemObject
key
Return Value
Type: TValuevalue
Remarks
Warning:
This method returns a clone of original value, modifying the returned value does not change the actual value in the map. One should put modified value back to make changes visible to all nodes.
var value = map.Get(key); value.UpdateSomeProperty(); map.put(key, value);
Warning-2:
This method uses GetHashCode and Equals of binary form of the key, not the actual implementations of GetHashCode and Equals defined in key's class.See Also