Class: Map

hangul. Map

A simple map supporting an inverse view.

new Map()

Constructs a new map, optionally containing the properties of the specified object.
Source:

Members

inverse :hangul.Map

Inverse view of the map.
Type:
Source:

Methods

add(k, v)

Parameters:
Name Type Description
k object key
v object value
Source:

addAll(o)

Parameters:
Name Type Description
o object object whose properties are to be added to this map
Source:

get(k)

Returns the associated object for the specified key or undefined if there is no mapping for the key.
Parameters:
Name Type Description
k object key
Source:

hasKey(k)

Returns true if this map has a mapping for the specified key.
Parameters:
Name Type Description
k object key
Source:

hasValue(v)

Returns true if this map has a mapping for the specified value.
Parameters:
Name Type Description
v object value
Source: