class OrderedMapEmpty<K,V,Tp>
undocumented
Extends: EmptyBase
Implements: OrderedMapBase<K,V,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
K | any | undocumented | |
V | any | undocumented | |
Tp | OrderedMapTypes | OrderedMapTypes | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
context
undocumented
context
Definition
readonly context:
WithKeyValue
<Tp, K, V>['context'];
isEmpty
undocumented
isEmpty
keyOrder
undocumented
keyOrder
length
undocumented
length
size
undocumented
size
sourceMap
undocumented
sourceMap
Methods
[Symbol.iterator]
undocumented
[Symbol.iterator]
addEntries
undocumented
addEntries
Definition
addEntries(entries:
StreamSource
<readonly [K, V]>):
WithKeyValue
<Tp, K, V>['normal']
|
any;
Parameters
Name | Type | Description |
---|---|---|
entries | StreamSource <readonly [K, V]> |
addEntry
undocumented
addEntry
Definition
addEntry(entry: readonly [K, V]):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
entry | readonly [K, V] |
assumeNonEmpty
undocumented
assumeNonEmpty
filter
undocumented
filter
forEach
undocumented
forEach
get
undocumented
get
modifyAt
undocumented
modifyAt
Definition
modifyAt(key: K, options: {
ifNew?:
OptLazyOr
<V, Token>;
}):
WithKeyValue
<Tp, K, V>['normal'];
Parameters
Name | Type | Description |
---|---|---|
key | K | |
options | { ifNew?: OptLazyOr <V, Token>; } |
nonEmpty
undocumented
nonEmpty
remove
undocumented
remove
removeKey
undocumented
removeKey
Definition
removeKey():
WithKeyValue
<Tp, K, V>['normal'];
removeKeys
undocumented
removeKeys
Definition
removeKeys():
WithKeyValue
<Tp, K, V>['normal'];
set
undocumented
set
Definition
set(key: K, value: V):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
key | K | |
value | V |
stream
undocumented
stream
toArray
undocumented
toArray
toBuilder
undocumented
toBuilder
Definition
toBuilder():
WithKeyValue
<Tp, K, V>['builder'];