(key: K)
| 41 | } |
| 42 | |
| 43 | public get(key: K) { |
| 44 | if (this._es6Map != null) { |
| 45 | return <V>this._es6Map.get(key); |
| 46 | } |
| 47 | |
| 48 | for (let i = 0; i < this._keyValuePairs.length; i++) { |
| 49 | if (this._keyValuePairs[i].key === key) { |
| 50 | return this._keyValuePairs[i].value; |
| 51 | } |
| 52 | } |
| 53 | return undefined; |
| 54 | } |
| 55 | |
| 56 | public has(key: K) { |
| 57 | if (this._es6Map != null) { |
no outgoing calls
no test coverage detected