class OrderedMapNonEmpty<K,V,Tp,TpG>
undocumented
Extends: NonEmptyBase<E>
Implements: OrderedMapBase.NonEmpty<K,V,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
K | undocumented | ||
V | undocumented | ||
Tp | OrderedMapTypes | OrderedMapTypes | undocumented |
TpG | WithKeyValue <Tp, K, V> | WithKeyValue <Tp, K, V> | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
context
undocumented
context
isEmpty
undocumented
isEmpty
keyOrder
undocumented
keyOrder
size
undocumented
size
sourceMap
undocumented
sourceMap
Methods
[Symbol.iterator]
undocumented
[Symbol.iterator]
Definition
[Symbol.iterator]():
FastIterator
<E>;
Overrides
NonEmptyBase.[Symbol.iterator], FastIterable.[Symbol.iterator]
addEntries
undocumented
addEntries
Definition
addEntries(entries:
StreamSource
<readonly [K, V]>):
OrderedMapBase
<K, V, Tp>
|
any;
Parameters
Name | Type | Description |
---|---|---|
entries | StreamSource <readonly [K, V]> |
Overrides
addEntry
undocumented
addEntry
Definition
addEntry(entry: readonly [K, V]):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
entry | readonly [K, V] |
Overrides
asNormal
undocumented
asNormal
assumeNonEmpty
undocumented
assumeNonEmpty
copy
undocumented
copy
Definition
copy(keyOrder?:
List.NonEmpty
<K>, sourceMap?: TpG["sourceMapNonEmpty"]): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
keyOrder | List.NonEmpty <K> | |
sourceMap | TpG["sourceMapNonEmpty"] |
filter
undocumented
filter
forEach
undocumented
forEach
Definition
forEach(f: (entry: [K, V], index: number, halt: () => void) => void, options?: {
reversed?: boolean;
state?:
TraverseState
;
}): void;
Parameters
Name | Type | Description |
---|---|---|
f | (entry: [K, V], index: number, halt: () => void) => void | |
options | { reversed?: boolean; state?: TraverseState ; } |
Overrides
get
undocumented
get
hasKey
undocumented
hasKey
mapValues
undocumented
mapValues
modifyAt
undocumented
modifyAt
removeKey
undocumented
removeKey
removeKeyAndGet
undocumented
removeKeyAndGet
removeKeys
undocumented
removeKeys
Definition
removeKeys<UK>(keys:
StreamSource
<
RelatedTo
<K, UK>>): TpG['normal'];
Type parameters
Name | Description |
---|---|
UK |
Parameters
Name | Type | Description |
---|---|---|
keys | StreamSource < RelatedTo <K, UK>> |
Overrides
set
undocumented
set
Definition
set(key: K, value: V):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
key | K | |
value | V |
Overrides
stream
undocumented
stream
streamKeys
undocumented
streamKeys
streamValues
undocumented
streamValues
toArray
undocumented
toArray
toBuilder
undocumented
toBuilder
toJSON
undocumented
toJSON
toString
undocumented
toString