Options
All
  • Public
  • Public/Protected
  • All
Menu

A classic probabilistic data-structure, which supports insertions of elements and membership queries.

author

Thomas Minier

author

Arnaud Grall

Type Parameters

  • T

Hierarchy

Implemented by

Index

Methods

Methods

  • add(element: T): void
  • has(element: T): boolean
  • Test an element for membership

    Parameters

    • element: T

      The element to look for in the filter

    Returns boolean

    False if the element is definitively not in the filter, True is the element might be in the filter

Generated using TypeDoc