interface OrderedMapBase<K,V,Tp>
undocumented
Companion namespace: OrderedMapBase
Implemented by: OrderedMapBase.NonEmpty<K,V,Tp>, OrderedMapEmpty<K,V,Tp>
Type parameters
| Name | Constraints | Default | Description |
|---|---|---|---|
| K | undocumented | ||
| V | undocumented | ||
| Tp | OrderedMapBase.Types | OrderedMapBase.Types | undocumented |
Properties
keyOrder
Returns a List instance containing the key order of the Map.
keyOrderList instance containing the key order of the Map.sourceMap
Returns the contained Map instance.
sourceMapMap instance.Definition
readonly sourceMap: WithKeyValue<Tp, K, V>['sourceMap'];
example
const m = OrderedHashMap.of([2, 'b'], [1, 'a'])
console.log(m.sourceMap.toString())
// => HashMap(1 -> 'a', 2 -> 'b')