HashDictionary Constructor (Int32, IEqualityComparer) |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Namespace:
Tangosol.Util.Collections
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic HashDictionary(
int capacity,
IEqualityComparer equalityComparer
)
Parameters
- capacity
- Type: SystemInt32
The approximate number of elements the HashDictionary
object can initially contain.
- equalityComparer
- Type: System.CollectionsIEqualityComparer
The IEqualityComparer object
that defines the hash code provider and the comparer to use with
the HashDictionary. -or- null to use the default
hash code provider and the default comparer. The default hash code
provider is each key's implementation of
GetHashCode and the default
comparer is each key's implementation of
Equals(Object).
Exceptions
See Also