goog.labs.structs.Map |
![]()
Adds the content of the map to this map. If a new entry uses a key
that already exists in this map, the existing key is replaced.
Arguments:
|
code » | |||
![]()
Asserts that the given key is a string.
Arguments:
|
code » | |||
![]()
Clears the map to the initial state.
|
code » | |||
Clones this map.
Returns: !goog.labs.structs.Map
The clone of this map.
|
code » | |||
No description.
|
code » | |||
Whether the map contains the given value. The comparison is done
using !== comparator. Also returns true if the passed value is NaN
and a NaN value exists in the map.
Arguments:
Returns: boolean
True if the map contains the given value.
|
code » | |||
![]()
Gets the value for the given key.
Arguments:
Returns: *
The value corresponding to the given key, or opt_default
if the key does not exist in this map.
|
code » | |||
No description.
Returns: number
The number of the entries in this map.
|
code » | |||
No description.
|
code » | |||
No description.
|
code » | |||
No description.
|
code » | |||
No description.
|
code » | |||
No description.
Returns: boolean
True if the map is empty.
|
code » | |||
Removes the map entry with the given key.
|
code » | |||
![]()
Adds the (key, value) pair, overriding previous entry with the same
key, if any.
Arguments:
|
code » |
![]()
No description.
|
Code » | |
![]()
Primary backing store of this map.
|
Code » | |
![]()
Secondary backing store for keys. The index corresponds to the
index for secondaryStoreValues_.
|
Code » | |
![]()
Secondary backing store for keys. The index corresponds to the
index for secondaryStoreValues_.
|
Code » |
![]()
No description.
|
code » | |
![]()
No description.
|
code » |
![]()
Browser feature enum necessary for map.
Constants:
|
Code » |