Sharpility
|
Implementation of MultiDictionary using HashSet for key values. More...
Public Member Functions | |
HashSetMultiDictionary () | |
Creates HashSetMultiDictionary. | |
HashSetMultiDictionary (int keysCapacity) | |
Creates HashSetMultiDictionary with given keys capacity. | |
Static Public Member Functions | |
static HashSetMultiDictionary < TKey, TValue > | Empty () |
Returns empty HashSetMultiDictionary. | |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key, TValue value) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4, TKey key5, TValue value5) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4, TKey key5, TValue value5, TKey key6, TValue value6) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4, TKey key5, TValue value5, TKey key6, TValue value6, TKey key7, TValue value7) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4, TKey key5, TValue value5, TKey key6, TValue value6, TKey key7, TValue value7, TKey key8, TValue value8) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4, TKey key5, TValue value5, TKey key6, TValue value6, TKey key7, TValue value7, TKey key8, TValue value8, TKey key9, TValue value9) |
static HashSetMultiDictionary < TKey, TValue > | Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4, TKey key5, TValue value5, TKey key6, TValue value6, TKey key7, TValue value7, TKey key8, TValue value8, TKey key9, TValue value9, TKey key10, TValue value10) |
Protected Member Functions | |
override ICollection< TValue > | CreateCollection (int capacity) |
Creates collection matching MultiDictionary implementation with given capacity. | |
override ICollection< TValue > | ResultCollection (ICollection< TValue > collection) |
Creates collection matching MultiDictionary implementation. | |
override ICollection< TValue > | ComparableCollection (ICollection< TValue > collection) |
Created comparable collection from given collection. |
Implementation of MultiDictionary using HashSet for key values.
TKey | Type of dictionary key |
TValue | Type of dictionary value |
override ICollection<TValue> Sharpility.Collections.HashSetMultiDictionary< TKey, TValue >.ComparableCollection | ( | ICollection< TValue > | collection | ) | [inline, protected, virtual] |
Created comparable collection from given collection.
collection | transformed collection |
Implements Sharpility.Collections.AbstractMultiDictionary< TKey, TValue >.
override ICollection<TValue> Sharpility.Collections.HashSetMultiDictionary< TKey, TValue >.CreateCollection | ( | int | capacity | ) | [inline, protected, virtual] |
Creates collection matching MultiDictionary implementation with given capacity.
capacity | collection capacity |
Implements Sharpility.Collections.AbstractMultiDictionary< TKey, TValue >.
static HashSetMultiDictionary<TKey, TValue> Sharpility.Collections.HashSetMultiDictionary< TKey, TValue >.Empty | ( | ) | [inline, static] |
Returns empty HashSetMultiDictionary.
Sharpility.Collections.HashSetMultiDictionary< TKey, TValue >.HashSetMultiDictionary | ( | ) | [inline] |
Creates HashSetMultiDictionary.
Sharpility.Collections.HashSetMultiDictionary< TKey, TValue >.HashSetMultiDictionary | ( | int | keysCapacity | ) | [inline] |
Creates HashSetMultiDictionary with given keys capacity.
keysCapacity | Capacity of keys |
override ICollection<TValue> Sharpility.Collections.HashSetMultiDictionary< TKey, TValue >.ResultCollection | ( | ICollection< TValue > | collection | ) | [inline, protected, virtual] |
Creates collection matching MultiDictionary implementation.
Implements Sharpility.Collections.AbstractMultiDictionary< TKey, TValue >.