-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMap.js
More file actions
58 lines (49 loc) · 1.65 KB
/
Copy pathMap.js
File metadata and controls
58 lines (49 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* @see http://download.oracle.com/javase/6/docs/api/java/util/Map.html
*
* @constructor
* @private
*/
export default function Map() {};
/**
* Returns the value to which the specified key is mapped, or null if this map
* contains no mapping for the key.
* @param {Object} key
* @return {Object}
*/
Map.prototype.get = function() {};
/**
* Associates the specified value with the specified key in this map (optional
* operation).
* @param {Object} key
* @param {Object} value
* @return {Object}
*/
Map.prototype.put = function() {};
/**
* Returns the number of key-value mappings in this map.
* @return {number}
*/
Map.prototype.size = function() {};
/**
* Returns a Collection view of the values contained in this map.
* @return {javascript.util.Collection}
*/
Map.prototype.values = function() {};
/**
* Returns a {@link Set} view of the mappings contained in this map.
* The set is backed by the map, so changes to the map are
* reflected in the set, and vice-versa. If the map is modified
* while an iteration over the set is in progress (except through
* the iterator's own <tt>remove</tt> operation, or through the
* <tt>setValue</tt> operation on a map entry returned by the
* iterator) the results of the iteration are undefined. The set
* supports element removal, which removes the corresponding
* mapping from the map, via the <tt>Iterator.remove</tt>,
* <tt>Set.remove</tt>, <tt>removeAll</tt>, <tt>retainAll</tt> and
* <tt>clear</tt> operations. It does not support the
* <tt>add</tt> or <tt>addAll</tt> operations.
*
* @return {Set} a set view of the mappings contained in this map
*/
Map.prototype.entrySet = function() {};