TCollections.CreateSortedDictionary<TKey,TValue> Method
Overloads
Delphi
class function CreateSortedDictionary<TKey,TValue>(ownerships: TDictionaryOwnerships): IDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- ownerships
- TDictionaryOwnerships
Returns
IDictionary<TKey, TValue>
Delphi
class function CreateSortedDictionary<TKey,TValue>(const keyComparer: IComparer<TKey>; ownerships: TDictionaryOwnerships): IDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- keyComparer
- IComparer<TKey>
- ownerships
- TDictionaryOwnerships
Returns
IDictionary<TKey, TValue>
Delphi
class function CreateSortedDictionary<TKey,TValue>(const valueComparer: IEqualityComparer<TValue>; ownerships: TDictionaryOwnerships): IDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- valueComparer
- IEqualityComparer<TValue>
- ownerships
- TDictionaryOwnerships
Returns
IDictionary<TKey, TValue>
CreateSortedDictionary<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>, TDictionaryOwnerships)
Delphi
class function CreateSortedDictionary<TKey,TValue>(const keyComparer: IComparer<TKey>; const valueComparer: IEqualityComparer<TValue>; ownerships: TDictionaryOwnerships): IDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- keyComparer
- IComparer<TKey>
- valueComparer
- IEqualityComparer<TValue>
- ownerships
- TDictionaryOwnerships
Returns
IDictionary<TKey, TValue>