Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JMap<K, V>

Type parameters

  • K

  • V

Hierarchy

Implemented by

Index

Methods

__@iterator

  • __@iterator(): Iterator<K>

clear

  • clear(): void

containsKey

  • containsKey(key: K): boolean

containsValue

  • containsValue(value: V): boolean

entrySet

get

  • get(key: K): V
  • Parameters

    • key: K

    Returns V

    the value to which the specified key is mapped, or undefined if this map contains no mapping for the key

immutableMap

isEmpty

  • isEmpty(): boolean

keySet

put

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

    • key: K
    • value: V

    Returns V

    the previous value associated with key, or null if there was no mapping for key. (A null return can also indicate that the map previously associated null with key.)

remove

  • remove(key: K): V
  • Parameters

    • key: K

    Returns V

    the previous value associated with key, or null if there was no mapping for key. (A null return can also indicate that the map previously associated null with key.)

size

  • size(): number

Generated using TypeDoc