Dictionary - acadet/ludivine GitHub Wiki

Dictionary<K, V>
|> IDictionary<K, V>
    |> ICollection<KeyValuePair<K, V>>

Implementation of IDictionary.

References

Constructors

Dictionary<K, V>()

Builds new dictionary.

Dictionary<K, V>(source : ICollection<KeyValuePair<K, V>>)

Builds new dictionary.

Parameters

source Data source


Methods

add(key : K, value : V) : void

Inherited from IDictionary.

average(getter : Func<KeyValuePair<K, V>, number>) : number

Inherited from ICollection.

exists(selector : Func<KeyValuePair<K, V>, boolean>) : boolean

Inherited from ICollection.

find(selector : Func<KeyValuePair<K, V>, boolean>) : KeyValuePair<K, V>

Inherited from ICollection.

forEach(action : Action<KeyValuePair<K, V>>) : void

Inherited from ICollection.

get(key : K) : V

Inherited from IDictionary.

getSize() : number

Inherited from IDictionary.

hasKey(key : K) : boolean

Inherited from IDictionary.

intersect(collection : ICollection<KeyValuePair<K, V>>) : ICollection<KeyValuePair<K, V>>

Computes intersection of two collections.

map(action : Func<KeyValuePair<K, V>, KeyValuePair<K, V>>) : ICollection<KeyValuePair<K, V>>

Inherited from ICollection.

max(getter : Func<KeyValuePair<K, V>, number>) : KeyValuePair<K, V>

Inherited from ICollection.

min(getter : Func<KeyValuePair<K, V>, number>) : KeyValuePair<K, V>

Inherited from ICollection.

remove(key : K) : void

Inherited from IDictionary.

removeIf(func : Func<KeyValuePair<K, V>, boolean>) : void

Inherited from IDictionary.

select(selector : Func<KeyValuePair<K, V>, boolean>) : ICollection<KeyValuePair<K, V>>

Inherited from ICollection.

sum(getter : Func<KeyValuePair<K, V>, number>) : number

Inherited from ICollection.

toArray() : Array<KeyValuePair<K, V>>

Inherited from ICollection.

toDictionary<A, B>(keyGetter : Func<KeyValuePair<K, V>, A>, valueGetter : Func<KeyValuePair<K, V>, B>) : IDictionary<A, B>

Inherited from ICollection.

toList() : IList<KeyValuePair<K, V>>

Inherited from ICollection.

union(collection : ICollection<KeyValuePair<K, V>>) : ICollection<KeyValuePair<K, V>>

Inherited from ICollection.

uniq() : ICollection<KeyValuePair<K, V>>

Inherited from ICollection.

⚠️ **GitHub.com Fallback** ⚠️