Skip to main content

package @rimbu/hashed/set-custom

The @rimbu/hashed/set-custom entry exposes the internal interfaces, builders and contexts behind HashSet, so you can construct custom hashed set variants that rely on tailored hashers, equality logic or internal configuration. For normal hashed set usage prefer the main @rimbu/hashed and @rimbu/hashed/set APIs; this entry targets advanced customization scenarios.

Interfaces​

NameDescription
HashSetCreatorsundocumented

Classes​

NameDescription
HashSetBlockundocumented
HashSetBlockBuilderundocumented
HashSetCollisionundocumented
HashSetCollisionBuilderundocumented
HashSetContextundocumented
HashSetEmptyundocumented
HashSetNonEmptyBaseundocumented

Functions​

createHashSetContext​

undocumented

Definition​

export declare function createHashSetContext<UT>(options?: {
  hasher?: Hasher<UT>;
  eq?: Eq<UT>;
  blockSizeBits?: number;
  listContext?: List.Context;
}): HashSet.Context<UT>;

Type parameters​
NameDescription
UT

Parameters​

NameTypeDescription
options{
  hasher?: Hasher<UT>;
  eq?: Eq<UT>;
  blockSizeBits?: number;
  listContext?: List.Context;
}