Sharpility
|
HashMap implementation of CompositeDictionary. More...
Public Member Functions | |
HashCompositeDictionary (int primaryKeyCapacity, int secondaryKeyCapacity) | |
Created composite dictionary with primary and secondary keys capacities. | |
HashCompositeDictionary () | |
Created composite dictionary. | |
Protected Member Functions | |
override IDictionary< T, TV > | CreateDictionary< T, TV > (int capacity) |
Creates dictionary with given capacity. | |
override IDictionary< T, TV > | CreateDictionary< T, TV > () |
Creates dictionary. | |
override ICollection< T > | CreateList< T > (int capacity) |
Creates list matching CompositDictionary implementatio with given capacity. | |
override ICollection< T > | CreateList< T > () |
Creates list matching CompositDictionary implementation. | |
override ISet< T > | CreateSet< T > () |
Creates set. |
HashMap implementation of CompositeDictionary.
TPrimaryKey | Type of primary key |
TSecondaryKey | Type of secondary key |
TValue | Type of value |
override IDictionary<T, TV> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateDictionary< T, TV > | ( | int | capacity | ) | [inline, protected, virtual] |
Creates dictionary with given capacity.
T | Type of key |
TV | Type of value |
capacity | Dictionary capacity |
Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.
override IDictionary<T, TV> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateDictionary< T, TV > | ( | ) | [inline, protected, virtual] |
Creates dictionary.
T | Type of key |
TV | Type of value |
Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.
override ICollection<T> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateList< T > | ( | int | capacity | ) | [inline, protected, virtual] |
Creates list matching CompositDictionary implementatio with given capacity.
T | Type of list item |
capacity | List capacity |
Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.
override ICollection<T> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateList< T > | ( | ) | [inline, protected, virtual] |
Creates list matching CompositDictionary implementation.
T | Type of list item |
Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.
override ISet<T> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateSet< T > | ( | ) | [inline, protected, virtual] |
Creates set.
T | Type of set |
Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.
Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.HashCompositeDictionary | ( | int | primaryKeyCapacity, |
int | secondaryKeyCapacity | ||
) | [inline] |
Created composite dictionary with primary and secondary keys capacities.
primaryKeyCapacity | Capacity of primary keys |
secondaryKeyCapacity | Capacity of secondary keys |
Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.HashCompositeDictionary | ( | ) | [inline] |
Created composite dictionary.