TCollections.CreateDictionary<TKey,TValue> Method
Overloads
Delphi
class function CreateDictionary<TKey,TValue>(ownerships: TDictionaryOwnerships): IOrderedDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- ownerships
- TDictionaryOwnerships
Returns
IOrderedDictionary<TKey, TValue>
Delphi
class function CreateDictionary<TKey,TValue>(capacity: Integer; ownerships: TDictionaryOwnerships): IOrderedDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- capacity
- Integer
- ownerships
- TDictionaryOwnerships
Returns
IOrderedDictionary<TKey, TValue>
Delphi
class function CreateDictionary<TKey,TValue>(const keyComparer: IEqualityComparer<TKey>; ownerships: TDictionaryOwnerships): IOrderedDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- keyComparer
- IEqualityComparer<TKey>
- ownerships
- TDictionaryOwnerships
Returns
IOrderedDictionary<TKey, TValue>
CreateDictionary<TKey,TValue>(IEqualityComparer<TKey>, IEqualityComparer<TValue>, TDictionaryOwnerships)
Delphi
class function CreateDictionary<TKey,TValue>(const keyComparer: IEqualityComparer<TKey>; const valueComparer: IEqualityComparer<TValue>; ownerships: TDictionaryOwnerships): IOrderedDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- keyComparer
- IEqualityComparer<TKey>
- valueComparer
- IEqualityComparer<TValue>
- ownerships
- TDictionaryOwnerships
Returns
IOrderedDictionary<TKey, TValue>
Delphi
class function CreateDictionary<TKey,TValue>(capacity: Integer; const keyComparer: IEqualityComparer<TKey>; ownerships: TDictionaryOwnerships): IOrderedDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- capacity
- Integer
- keyComparer
- IEqualityComparer<TKey>
- ownerships
- TDictionaryOwnerships
Returns
IOrderedDictionary<TKey, TValue>
CreateDictionary<TKey,TValue>(Integer, IEqualityComparer<TKey>, IEqualityComparer<TValue>, TDictionaryOwnerships)
Delphi
class function CreateDictionary<TKey,TValue>(capacity: Integer; const keyComparer: IEqualityComparer<TKey>; const valueComparer: IEqualityComparer<TValue>; ownerships: TDictionaryOwnerships): IOrderedDictionary<TKey,TValue>
Type Parameters
- TKey
- TValue
Parameters
- capacity
- Integer
- keyComparer
- IEqualityComparer<TKey>
- valueComparer
- IEqualityComparer<TValue>
- ownerships
- TDictionaryOwnerships
Returns
IOrderedDictionary<TKey, TValue>