Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
HashDictionary Class
Members See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Hashtable-based IDictionary implementation that allows null keys.

Namespace: Tangosol.Util.Collections
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    [SerializableAttribute]
    public class HashDictionary : Hashtable,
    	IEnumerable

# Remarks

Note that null keys support intentionally breaks the IDictionary contract, which states that an ArgumentNullException should be raised if the key is null.

However, this is necessary in order to match the behavior in Java and C++, where some Map implementations support null keys.

Note: This implementation is not thread safe. If you need it to be, you should wrap it with the SynchronizedDictionary.

# Inheritance Hierarchy

System..::.Object
System.Collections..::.Hashtable
Tangosol.Util.Collections..::.HashDictionary

# See Also

HashDictionary Members
Tangosol.Util.Collections Namespace