Options
All
  • Public
  • Public/Protected
  • All
Menu

A WritableFilter extends the {@link ClassicFilter} with the ability to remove elements from the filter.

author

Thomas Minier

author

Arnaud Grall

Type Parameters

  • T

Hierarchy

Implemented by

Index

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

  • remove(element: T): boolean
  • Remove an element from the filter

    Parameters

    • element: T

      The element to remove

    Returns boolean

    True if the element has been removed from the filter, False otherwise

Generated using TypeDoc