Skip to main content

package @rimbu/hashed

The @rimbu/hashed package provides implementations of the HashSet and HashMap.

See the Rimbu docs Map page and Rimbu docs Set page for more information. This is a convenience package that exports everything from the following sub-packages:

Interfaces

NameDescription
Hasher<UK>Interface used to hash objects for hashed collections.
HashMap<K,V>A type-invariant immutable Map of key type K, and value type V. In the Map, each key has exactly one value, and the Map cannot contain duplicate keys. See the Map documentation and the HashMap API documentation
HashSet<T>A type-invariant immutable Set of value type T. In the Set, there are no duplicate values. See the Set documentation and the HashSet API documentation

Namespaces

NameDescription
HasherInterface used to hash objects for hashed collections.
HashMapA type-invariant immutable Map of key type K, and value type V. In the Map, each key has exactly one value, and the Map cannot contain duplicate keys. See the Map documentation and the HashMap API documentation
HashSetA type-invariant immutable Set of value type T. In the Set, there are no duplicate values. See the Set documentation and the HashSet API documentation