HashMap39
Constructors
Models
Refinements
Getters
entriesconstReturns an IterableIterator of the entries within the HashMap.keysconstReturns an IterableIterator of the keys within the HashMap.sizeconstReturns the number of entries within the HashMap.toEntriesconstReturns an Array<[K, V]> of the entries within the HashMap.toValuesconstReturns an Array of the values within the HashMap.valuesconstReturns an IterableIterator of the values within the HashMap.Elements
everyconstChecks whether all entries in a hashmap meets a specific condition.findFirstconstReturns the first element that satisfies the specified predicate, or None if no such element exists.getconstLooks up the value for the specified key in the HashMap safely using the internal hashing function.getHashconstLooks up the value for the specified key in the HashMap safely using a custom hash.hasconstChecks whether the specified key has an entry in the HashMap.hasByconstChecks whether an element matching the given predicate exists in the given HashMap.hasHashconstChecks whether the specified key has an entry in the HashMap using a custom hash.isEmptyconstChecks whether the HashMap contains no entries.someconstChecks whether any entry in a hashmap meets a specific condition.Mapping
Filtering
Sequencing
Mutations
Combining
Folding
Transforming
modifyconstUpdates the value of the specified key within the HashMap if it exists.modifyAtconstSets or removes the specified key using an update function.modifyHashconstSets or removes the specified key using a precomputed hash and an update function.removeconstRemoves the entry for the specified key in the HashMap using the internal hashing function.removeManyconstRemoves all entries in the HashMap which have the specified keys.setconstSets the specified key to the specified value using the internal hashing function.setManyconstSets multiple key-value pairs in the HashMap.