Results for “Std.HashMap.HashMap”
22 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.HashMap.HashMap
A map that finds a key by hashing it rather than by comparing it.
- Std.HashMap.bucketCount
&Std.HashMap.HashMap[K, V] -> Int where K: Eq + HashHow many buckets the map is currently spread across.
- Std.HashMap.containsKey
&Std.HashMap.HashMap[K, V] -> &K -> Bool where K: Eq + HashWhether a key is present.
- Std.HashMap.empty
Std.HashMap.HashMap[K, V] where K: Eq + HashA map holding nothing.
- Std.HashMap.entries
&Std.HashMap.HashMap[K, V] -> Array[(K, V)] where K: Eq + HashEvery pairing, in the order the keys were first put in.
- Std.HashMap.equals
&Std.HashMap.HashMap[K, V] -> &Std.HashMap.HashMap[K, V] -> Bool where K: Eq + Hash, V: EqWhether two maps hold the same pairings.
- Std.HashMap.filter
&Std.HashMap.HashMap[K, V] -> fn(K, V) -> Bool -> Std.HashMap.HashMap[K, V] where K: Eq + HashA map holding only the pairings a test accepts.
- Std.HashMap.fold
&Std.HashMap.HashMap[K, V] -> A -> fn(A, K, V) -> A -> A where K: Eq + HashEvery pairing combined into one value, in insertion order.
- Std.HashMap.fromArray
&Array[(K, V)] -> Std.HashMap.HashMap[K, V] where K: Eq + HashA map built from pairings, later ones replacing earlier ones.
- Std.HashMap.get
&Std.HashMap.HashMap[K, V] -> &K -> Option[V] where K: Eq + HashThe value under a key, or nothing when the map does not hold it.
- Std.HashMap.getOr
&Std.HashMap.HashMap[K, V] -> &K -> V -> V where K: Eq + HashThe value under a key, or a fallback when the map does not hold it.
- Std.HashMap.insert
&Std.HashMap.HashMap[K, V] -> K -> V -> Std.HashMap.HashMap[K, V] where K: Eq + HashA map with a pairing added, replacing any value already under the key.
- Std.HashMap.insertWith
&Std.HashMap.HashMap[K, V] -> K -> V -> fn(V, V) -> V -> Std.HashMap.HashMap[K, V] where K: Eq + HashA map with a pairing added, combining with any value already there.
- Std.HashMap.isEmpty
&Std.HashMap.HashMap[K, V] -> Bool where K: Eq + HashWhether a map holds nothing.
- Std.HashMap.keys
&Std.HashMap.HashMap[K, V] -> Array[K] where K: Eq + HashEvery key, in the order they were first put in.
- Std.HashMap.map
&Std.HashMap.HashMap[K, V] -> fn(V) -> W -> Std.HashMap.HashMap[K, W] where K: Eq + HashA map with every value transformed, keeping keys and their order.
- Std.HashMap.merge
&Std.HashMap.HashMap[K, V] -> &Std.HashMap.HashMap[K, V] -> Std.HashMap.HashMap[K, V] where K: Eq + HashTwo maps joined, the second's value winning where both hold a key.
- Std.HashMap.mergeWith
&Std.HashMap.HashMap[K, V] -> &Std.HashMap.HashMap[K, V] -> fn(V, V) -> V -> Std.HashMap.HashMap[K, V] where K: Eq + HashTwo maps joined, a rule deciding where both hold a key.
- Std.HashMap.remove
&Std.HashMap.HashMap[K, V] -> &K -> Std.HashMap.HashMap[K, V] where K: Eq + HashA map with a key removed, or the same map when it held none.
- Std.HashMap.singleton
K -> V -> Std.HashMap.HashMap[K, V] where K: Eq + HashA map holding one pairing.
- Std.HashMap.size
&Std.HashMap.HashMap[K, V] -> Int where K: Eq + HashHow many pairings a map holds.
- Std.HashMap.values
&Std.HashMap.HashMap[K, V] -> Array[V] where K: Eq + HashEvery value, in the order their keys were first put in.
