MapOrdExtensions Class

DECLARATION
public static class MapOrdExtensions
NAMESPACE
LanguageExt

Methods

Count<OrdK, K, V>(Map<OrdK, K, V>)
SUMMARY

Number of items in the map

PARAMETERS
self
Map<OrdK, K, V>
DECLARATION
[Pure]
public static int Count<OrdK, K, V>(this Map<OrdK, K, V> self)
RETURNS
int
CONSTRAINTS
where OrdK : struct Ord<K>
Map<OrdK, K, V, U>(Map<OrdK, K, V>, Func<V, U>)
SUMMARY

Atomically maps the map to a new map

PARAMETERS
self
Map<OrdK, K, V>
mapper
Func<V, U>
DECLARATION
[Pure]
public static Map<OrdK, K, U> Map<OrdK, K, V, U>(this Map<OrdK, K, V> self, Func<V, U> mapper)
RETURNS
Map<OrdK, K, U>
Mapped items in a new map
CONSTRAINTS
where OrdK : struct Ord<K>
Map<OrdK, K, V, U>(Map<OrdK, K, V>, Func<K, V, U>)
SUMMARY

Atomically maps the map to a new map

PARAMETERS
self
Map<OrdK, K, V>
mapper
Func<K, V, U>
DECLARATION
[Pure]
public static Map<OrdK, K, U> Map<OrdK, K, V, U>(this Map<OrdK, K, V> self, Func<K, V, U> mapper)
RETURNS
Map<OrdK, K, U>
Mapped items in a new map
CONSTRAINTS
where OrdK : struct Ord<K>
Sum<OrdK, K>(Map<OrdK, K, int>)
PARAMETERS
self
Map<OrdK, K, int>
DECLARATION
[Pure]
public static int Sum<OrdK, K>(this Map<OrdK, K, int> self)
RETURNS
int
CONSTRAINTS
where OrdK : struct Ord<K>