Sharpility
Sharpility.Collections.OrderedHashImmutableDictionary< T, TV > Class Template Reference

HashMap implementation of OrderedImmutableDictionary. More...

Inheritance diagram for Sharpility.Collections.OrderedHashImmutableDictionary< T, TV >:
Sharpility.Collections.OrderedImmutableDictionary< T, TV >

List of all members.

Classes

class  OrderedHashImmutableDictionaryBuilder
 Builder of OrderedHashImmutableDictionary. More...

Public Member Functions

IEnumerator< KeyValuePair< T,
TV > > 
GetEnumerator ()
bool ContainsKey (T key)
bool TryGetValue (T key, out TV value)
IImmutableDictionary< T, TV > Clear ()
IImmutableDictionary< T, TV > Add (T key, TV value)
IImmutableDictionary< T, TV > AddRange (IEnumerable< KeyValuePair< T, TV >> pairs)
IImmutableDictionary< T, TV > SetItem (T key, TV value)
IImmutableDictionary< T, TV > SetItems (IEnumerable< KeyValuePair< T, TV >> items)
IImmutableDictionary< T, TV > RemoveRange (IEnumerable< T > keys)
IImmutableDictionary< T, TV > Remove (T key)
bool Contains (KeyValuePair< T, TV > pair)
bool TryGetKey (T equalKey, out T actualKey)

Static Public Member Functions

static
OrderedHashImmutableDictionaryBuilder 
Builder ()
 Builder of OrderedImmutableDictionary.

Properties

int Count [get]
TV this[T key] [get]
IEnumerable< T > Keys [get]
IEnumerable< TV > Values [get]
IImmutableList< T > OrderedKeys [get]
 Dictionary keys with put order.
IImmutableList< KeyValuePair
< T, TV > > 
OrderedEntries [get]
 Entry set sorted by keys put order.

Detailed Description

template<T, TV>
class Sharpility::Collections::OrderedHashImmutableDictionary< T, TV >

HashMap implementation of OrderedImmutableDictionary.

Template Parameters:
TType of dictionary key
TVType of dictionary vlaue

Member Function Documentation


Property Documentation

template<T , TV >
IImmutableList<KeyValuePair<T, TV> > Sharpility.Collections.OrderedHashImmutableDictionary< T, TV >.OrderedEntries [get]

Entry set sorted by keys put order.

Implements Sharpility.Collections.OrderedImmutableDictionary< T, TV >.

template<T , TV >
IImmutableList<T> Sharpility.Collections.OrderedHashImmutableDictionary< T, TV >.OrderedKeys [get]

Dictionary keys with put order.

Implements Sharpility.Collections.OrderedImmutableDictionary< T, TV >.


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