BiMap
BiMap
Bi-directional map
Kind: global class
- BiMap
- .forward :
Map.<K, V>
- .backward :
Map.<V, K>
- .add(key, value)
- .getKeyByValue(value) ⇒
K
|undefined
- .getValueByKey(address) ⇒
V
|undefined
- .forward :
biMap.forward : Map.<K, V>
Kind: instance property of BiMap
biMap.backward : Map.<V, K>
Kind: instance property of BiMap
biMap.add(key, value)
Kind: instance method of BiMap
Param | Type |
---|---|
key | K |
value | V |
biMap.getKeyByValue(value) ⇒ K
| undefined
Kind: instance method of BiMap
Param | Type |
---|---|
value | V |
biMap.getValueByKey(address) ⇒ V
| undefined
Kind: instance method of BiMap
Param | Type |
---|---|
address | K |