Results for “Std.EnumMap.EnumMap”
22 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.EnumMap.EnumMap
A map over a fixed set of keys, where every key has a value.
- Std.EnumMap.adjust
&Std.EnumMap.EnumMap[K, V] -> K -> fn(V) -> V -> Std.EnumMap.EnumMap[K, V]A key's value transformed, unchanged when the key is outside the domain.
- Std.EnumMap.all
&Std.EnumMap.EnumMap[K, V] -> fn(K, V) -> Bool -> BoolWhether every entry satisfies the predicate. True over an empty domain.
- Std.EnumMap.any
&Std.EnumMap.EnumMap[K, V] -> fn(K, V) -> Bool -> BoolWhether any entry satisfies the predicate. False over an empty domain.
- Std.EnumMap.containsKey
&Std.EnumMap.EnumMap[K, V] -> K -> BoolWhether a key is in the domain.
- Std.EnumMap.countValues
&Std.EnumMap.EnumMap[K, V] -> fn(V) -> Bool -> IntHow many values the predicate accepts.
- Std.EnumMap.filled
&Array[K] -> V -> Std.EnumMap.EnumMap[K, V]A map giving every key in the domain the same starting value.
- Std.EnumMap.find
&Std.EnumMap.EnumMap[K, V] -> K -> Option[V]The value stored under a key, or
Nonewhen the key is outside the domain. - Std.EnumMap.fold
&Std.EnumMap.EnumMap[K, V] -> fn(A, K, V) -> A -> A -> AEvery entry combined into one value, in domain order.
- Std.EnumMap.from
&Array[K] -> fn(K) -> V -> Std.EnumMap.EnumMap[K, V]A map giving every key in the domain the value a function computes for it.
- Std.EnumMap.get
&Std.EnumMap.EnumMap[K, V] -> K -> VThe value stored under a key.
- Std.EnumMap.getOr
&Std.EnumMap.EnumMap[K, V] -> K -> V -> VThe value stored under a key, or the given fallback when the key is not in
- Std.EnumMap.isEmpty
&Std.EnumMap.EnumMap[K, V] -> BoolWhether the domain names any key at all.
- Std.EnumMap.keys
&Std.EnumMap.EnumMap[K, V] -> Array[K]Every key, in the order the domain named them.
- Std.EnumMap.keysWhere
&Std.EnumMap.EnumMap[K, V] -> fn(V) -> Bool -> Array[K]The keys whose values the predicate accepts.
- Std.EnumMap.mapValues
&Std.EnumMap.EnumMap[K, A] -> fn(A) -> B -> Std.EnumMap.EnumMap[K, B]Every value transformed, keeping the domain and its order.
- Std.EnumMap.mergeWith
&Std.EnumMap.EnumMap[K, V] -> &Std.EnumMap.EnumMap[K, V] -> fn(V, V) -> V -> Std.EnumMap.EnumMap[K, V]Two maps over the same domain combined value by value.
- Std.EnumMap.pairs
&Std.EnumMap.EnumMap[K, V] -> Array[(K, V)]Every entry as a pair, in domain order.
- Std.EnumMap.set
&Std.EnumMap.EnumMap[K, V] -> K -> V -> Std.EnumMap.EnumMap[K, V]The map with a key's value replaced, unchanged when the key is outside the
- Std.EnumMap.size
&Std.EnumMap.EnumMap[K, V] -> IntHow many keys the domain holds.
- Std.EnumMap.toMap
&Std.EnumMap.EnumMap[K, V] -> Map[K, V]The map as an ordinary map, losing the promise that every key has a value.
- Std.EnumMap.values
&Std.EnumMap.EnumMap[K, V] -> Array[V]Every value, in the order of its key.
