Sharpility
Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue > Class Template Reference

HashMap implementation of CompositeDictionary. More...

Inheritance diagram for Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >:
Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue > Sharpility.Collections.CompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >

List of all members.

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.

Detailed Description

template<TPrimaryKey, TSecondaryKey, TValue>
class Sharpility::Collections::HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >

HashMap implementation of CompositeDictionary.

Template Parameters:
TPrimaryKeyType of primary key
TSecondaryKeyType of secondary key
TValueType of value

Member Function Documentation

template<TPrimaryKey , TSecondaryKey , TValue >
override IDictionary<T, TV> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateDictionary< T, TV > ( int  capacity) [inline, protected, virtual]

Creates dictionary with given capacity.

Template Parameters:
TType of key
TVType of value
Parameters:
capacityDictionary capacity
Returns:
created dictionary

Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.

template<TPrimaryKey , TSecondaryKey , TValue >
override IDictionary<T, TV> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateDictionary< T, TV > ( ) [inline, protected, virtual]

Creates dictionary.

Template Parameters:
TType of key
TVType of value
Returns:
created dictionary

Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.

template<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.

Template Parameters:
TType of list item
Parameters:
capacityList capacity
Returns:
created list

Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.

template<TPrimaryKey , TSecondaryKey , TValue >
override ICollection<T> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateList< T > ( ) [inline, protected, virtual]

Creates list matching CompositDictionary implementation.

Template Parameters:
TType of list item
Returns:
created list

Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.

template<TPrimaryKey , TSecondaryKey , TValue >
override ISet<T> Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.CreateSet< T > ( ) [inline, protected, virtual]

Creates set.

Template Parameters:
TType of set
Returns:
created set

Implements Sharpility.Collections.AbstractCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.

template<TPrimaryKey , TSecondaryKey , TValue >
Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.HashCompositeDictionary ( int  primaryKeyCapacity,
int  secondaryKeyCapacity 
) [inline]

Created composite dictionary with primary and secondary keys capacities.

Parameters:
primaryKeyCapacityCapacity of primary keys
secondaryKeyCapacityCapacity of secondary keys
template<TPrimaryKey , TSecondaryKey , TValue >
Sharpility.Collections.HashCompositeDictionary< TPrimaryKey, TSecondaryKey, TValue >.HashCompositeDictionary ( ) [inline]

Created composite dictionary.


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