Click or drag to resize

SortedDictionary Constructor (IComparer, Int32)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Initializes a new instance of the SortedDictionary class that is empty, has the specified initial capacity, and is sorted according to the specified IComparer interface.

Namespace:  Tangosol.Util.Collections
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public SortedDictionary(
	IComparer comparer,
	int capacity
)

Parameters

comparer
Type: System.CollectionsIComparer
The IComparer implementation to use when comparing keys.-or- null to use the IComparable implementation of each key.
capacity
Type: SystemInt32
The initial number of elements this SortedDictionary object can contain.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioncapacity is less than zero.
OutOfMemoryException There is not enough available memory to create a SortedDictionary object with the specified capacity.
See Also