Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MakeAbstractMap_Methods<K, V, SetArgs>

Type Parameters

  • K

  • V

  • SetArgs extends unknown[] = [V]

Hierarchy

  • MakeAbstractMap_Methods

Index

Methods

  • [iterator](): IterableIterator<[K, V]>
  • clear(): void
  • Calls delete on every value in the map.

    Override this method if you want to optimize this behavior.

    Returns void

  • forEach(callbackfn: ((value: V, key: K, map: MakeAbstractMap_Methods<K, V, SetArgs>) => void), thisArg?: any): void
  • keyOf(searchElement: V): undefined | K
  • Searches linearly through the map using the default iterator, comparing values to searchElement using ===.

    Override this method if you want to optimize the search.

    Parameters

    • searchElement: V

    Returns undefined | K

  • keys(): IterableIterator<K>
  • toString(): string
  • values(): IterableIterator<V>

Generated using TypeDoc