Results for “Std.IntMap.IntMap”
20 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.IntMap.IntMap
A purely functional bitwise integer Patricia Trie mapping 64-bit integer keys to values.
- Std.IntMap.adjust
&Std.IntMap.IntMap[V] -> Int -> fn(V) -> V -> Std.IntMap.IntMap[V]Updates the value at key if present using function f.
- Std.IntMap.delete
&Std.IntMap.IntMap[V] -> Int -> Std.IntMap.IntMap[V]Deletes the entry for key if present in the map.
- Std.IntMap.difference
&Std.IntMap.IntMap[V] -> &Std.IntMap.IntMap[V] -> Std.IntMap.IntMap[V]Computes the difference of two maps (entries in left whose keys are not in right).
- Std.IntMap.empty
Std.IntMap.IntMap[V]Constructs an empty integer map.
- Std.IntMap.entries
&Std.IntMap.IntMap[V] -> Array[Std.IntMap.IntMapEntry[V]]Returns an array of all key-value entries in key order.
- Std.IntMap.get
&Std.IntMap.IntMap[V] -> Int -> Option[V]Looks up the value associated with key in the map.
- Std.IntMap.getOr
&Std.IntMap.IntMap[V] -> Int -> V -> VLooks up the value associated with key, returning fallback if absent.
- Std.IntMap.insert
&Std.IntMap.IntMap[V] -> Int -> V -> Std.IntMap.IntMap[V]Inserts or replaces a key-value pairing in the map.
- Std.IntMap.intersection
&Std.IntMap.IntMap[V] -> &Std.IntMap.IntMap[V] -> Std.IntMap.IntMap[V]Computes the intersection of two maps, keeping values from the left map.
- Std.IntMap.isEmpty
&Std.IntMap.IntMap[V] -> BoolWhether the map contains no entries.
- Std.IntMap.keys
&Std.IntMap.IntMap[V] -> Array[Int]Returns an array of all keys in ascending order.
- Std.IntMap.mapValues
&Std.IntMap.IntMap[A] -> fn(A) -> B -> Std.IntMap.IntMap[B]Transforms all values in the map using function f.
- Std.IntMap.maxKey
&Std.IntMap.IntMap[V] -> Option[Int]Returns the largest key present in the map, or None if empty.
- Std.IntMap.member
&Std.IntMap.IntMap[V] -> Int -> BoolWhether the map contains an entry for key.
- Std.IntMap.minKey
&Std.IntMap.IntMap[V] -> Option[Int]Returns the smallest key present in the map, or None if empty.
- Std.IntMap.singleton
Int -> V -> Std.IntMap.IntMap[V]Constructs an integer map with a single key-value pairing.
- Std.IntMap.size
&Std.IntMap.IntMap[V] -> IntThe number of entries contained in the map.
- Std.IntMap.union
&Std.IntMap.IntMap[V] -> &Std.IntMap.IntMap[V] -> Std.IntMap.IntMap[V]Computes the union of two maps, preferring values in left on duplicate keys.
- Std.IntMap.values
&Std.IntMap.IntMap[V] -> Array[V]Returns an array of all values in key order.
