Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • K

  • V

Hierarchy

  • Map

Implements

Index

Constructors

constructor

  • new Map(): Map

Properties

Private _entries

_entries: IMapEntry<K, V>[]

Methods

clear

  • clear(): void

compute

  • compute(key: K, remappingFunction: IBiFunction<K, V, V>): V

computeIfAbsent

  • computeIfAbsent(key: K, mappingFunction: IFunction<K, V>): V

computeIfPresent

containsKey

  • containsKey(key: any): boolean

containsValue

  • containsValue(value: any): boolean

entrySet

equals

  • equals(m: IMap<K, V>): boolean

forEach

get

  • get(key: K): V

getOrDefault

  • getOrDefault(key: K, defaultValue: V): V

hashCode

  • hashCode(): number

isEmpty

  • isEmpty(): boolean

keySet

merge

  • merge(key: K, value: V, remappingFunction: IBiFunction<V, V, V>): V

put

  • put(key: K, value: V): V

putAll

  • putAll(m: IMap<K, V>): void

putIfAbsent

  • putIfAbsent(key: K, value: V): V

remove

  • remove(key: K): V
  • remove(key: K, value: V): boolean

replace

  • replace(key: K, value: V): V
  • replace(key: K, oldValue: V, newValue: V): boolean

replaceAll

size

  • size(): number

values

  • values(): V[]

Generated using TypeDoc