class MultiMapNonEmpty<K,V,Tp,TpG>
undocumented
Extends: NonEmptyBase<E>
Implements: MultiMapBase.NonEmpty<K,V,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
K | undocumented | ||
V | undocumented | ||
Tp | ContextImplTypes | undocumented | |
TpG | WithKeyValue <Tp, K, V> | WithKeyValue <Tp, K, V> | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
context
undocumented
context
isEmpty
undocumented
isEmpty
keyMap
undocumented
keyMap
keySize
undocumented
keySize
size
undocumented
size
Methods
[Symbol.iterator]
undocumented
[Symbol.iterator]
Definition
[Symbol.iterator]():
FastIterator
<E>;
Overrides
NonEmptyBase.[Symbol.iterator], FastIterable.[Symbol.iterator]
add
undocumented
add
addEntries
undocumented
addEntries
Definition
addEntries(entries:
StreamSource
<readonly [K, V]>): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
entries | StreamSource <readonly [K, V]> |
Overrides
asNormal
undocumented
asNormal
assumeNonEmpty
undocumented
assumeNonEmpty
copy
undocumented
copy
copyE
undocumented
copyE
filter
undocumented
filter
forEach
undocumented
forEach
Definition
forEach(f: (entry: [K, V], index: number, halt: () => void) => void, options?: {
state?:
TraverseState
;
}): void;
Parameters
Name | Type | Description |
---|---|---|
f | (entry: [K, V], index: number, halt: () => void) => void | |
options | { state?: TraverseState ; } |
Overrides
getValues
undocumented
getValues
hasEntry
undocumented
hasEntry
hasKey
undocumented
hasKey
modifyAt
undocumented
modifyAt
Definition
modifyAt(atKey: K, options: {
ifNew?:
OptLazy
<
StreamSource
<V>>;
ifExists?: ((currentValues: TpG['keyMapValuesNonEmpty']) =>
StreamSource
<V>)
|
StreamSource
<V>;
}): TpG['normal'];
Parameters
Name | Type | Description |
---|---|---|
atKey | K | |
options | { ifNew?: OptLazy < StreamSource <V>>; ifExists?: ((currentValues: TpG['keyMapValuesNonEmpty']) => StreamSource <V>) | StreamSource <V>; } |
Overrides
removeEntries
undocumented
removeEntries
Definition
removeEntries<UK, UV>(entries:
StreamSource
<[
RelatedTo
<K, UK>,
RelatedTo
<V, UV>]>): TpG['normal'];
Type parameters
Name | Description |
---|---|
UK | |
UV |
Parameters
Name | Type | Description |
---|---|---|
entries | StreamSource <[ RelatedTo <K, UK>, RelatedTo <V, UV>]> |
Overrides
removeEntry
undocumented
removeEntry
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
setValues
undocumented
setValues
stream
undocumented
stream
streamKeys
undocumented
streamKeys
streamValues
undocumented
streamValues
toArray
undocumented
toArray
toBuilder
undocumented
toBuilder
toJSON
undocumented
toJSON
toString
undocumented
toString