Sharpility
Sharpility.Collections.ImmutableSetMultiDictionary< TKey, TValue > Class Template Reference

Implementation of ImmutableMultiDictionary using ImmutableSet for key values. More...

Inheritance diagram for Sharpility.Collections.ImmutableSetMultiDictionary< TKey, TValue >:
Sharpility.Collections.ImmutableMultiDictionary< TKey, TValue > Sharpility.Collections.MultiDictionary< TKey, TValue >

List of all members.

Classes

class  ImmutableSetMultiDictionaryBuilder
 Builder of ImmutableSetMultiDictionary. More...

Static Public Member Functions

static
ImmutableSetMultiDictionaryBuilder 
Builder ()
 Returns builder of ImmutableSetMultiDictionary.
static
ImmutableSetMultiDictionaryBuilder 
Builder (int keysCapacity)
 Returns builder of ImmutableSetMultiDictionary.
static
ImmutableSetMultiDictionary
< TKey, TValue > 
Empty ()
 Returns empty ImmutableSetMultiDictionary.
static
ImmutableSetMultiDictionary
< TKey, TValue > 
Of (TKey key, TValue value)
static
ImmutableSetMultiDictionary
< TKey, TValue > 
Of (TKey key1, TValue value1, TKey key2, TValue value2)
static
ImmutableSetMultiDictionary
< TKey, TValue > 
Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3)
static
ImmutableSetMultiDictionary
< TKey, TValue > 
Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4)
static
ImmutableSetMultiDictionary
< TKey, TValue > 
Of (TKey key1, TValue value1, TKey key2, TValue value2, TKey key3, TValue value3, TKey key4, TValue value4, TKey key5, TValue value5)
static
ImmutableSetMultiDictionary
< 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
ImmutableSetMultiDictionary
< 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
ImmutableSetMultiDictionary
< 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
ImmutableSetMultiDictionary
< 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
ImmutableSetMultiDictionary
< 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 > EmptyCollection ()
 Returns empty collection matching MultiDictionary implementation.
override ICollection< TValue > MutableCopy (ICollection< TValue > values)
 Creates mutable copy of given collection.

Detailed Description

template<TKey, TValue>
class Sharpility::Collections::ImmutableSetMultiDictionary< TKey, TValue >

Implementation of ImmutableMultiDictionary using ImmutableSet for key values.

Template Parameters:
TKeyType of dictionary key
TValueType of dictionary value

Member Function Documentation

template<TKey , TValue >
static ImmutableSetMultiDictionaryBuilder Sharpility.Collections.ImmutableSetMultiDictionary< TKey, TValue >.Builder ( ) [inline, static]

Returns builder of ImmutableSetMultiDictionary.

Returns:
Builder
template<TKey , TValue >
static ImmutableSetMultiDictionaryBuilder Sharpility.Collections.ImmutableSetMultiDictionary< TKey, TValue >.Builder ( int  keysCapacity) [inline, static]

Returns builder of ImmutableSetMultiDictionary.

Parameters:
keysCapacityInitial keys capacity.
Returns:
Builder
template<TKey , TValue >
static ImmutableSetMultiDictionary<TKey, TValue> Sharpility.Collections.ImmutableSetMultiDictionary< TKey, TValue >.Empty ( ) [inline, static]
template<TKey , TValue >
override ICollection<TValue> Sharpility.Collections.ImmutableSetMultiDictionary< TKey, TValue >.EmptyCollection ( ) [inline, protected, virtual]

Returns empty collection matching MultiDictionary implementation.

Returns:
empty collection

Implements Sharpility.Collections.ImmutableMultiDictionary< TKey, TValue >.

template<TKey , TValue >
override ICollection<TValue> Sharpility.Collections.ImmutableSetMultiDictionary< TKey, TValue >.MutableCopy ( ICollection< TValue >  values) [inline, protected, virtual]

Creates mutable copy of given collection.

Parameters:
valuesTransformed collection
Returns:
Mutable collection

Implements Sharpility.Collections.ImmutableMultiDictionary< TKey, TValue >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Enumerations Properties