class BiMultiMapNonEmpty<K,V,Tp,TpG>
undocumented
Extends: NonEmptyBase<E>
Implements: BiMultiMapBase.NonEmpty<K,V,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
K | undocumented | ||
V | undocumented | ||
Tp | ContextTypesImpl | undocumented | |
TpG | WithKeyValue <Tp, K, V> | WithKeyValue <Tp, K, V> | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
context
undocumented
context
isEmpty
Returns false since this collection is known to be non-empty.
isEmpty
keySize
undocumented
keySize
keyValueMultiMap
undocumented
keyValueMultiMap
size
undocumented
size
valueKeyMultiMap
undocumented
valueKeyMultiMap
Methods
[Symbol.iterator]
undocumented
[Symbol.iterator]
Definition
[Symbol.iterator]():
FastIterator
<E>;
Overrides
NonEmptyBase.[Symbol.iterator], FastIterable.[Symbol.iterator]
add
undocumented
add
Definition
add(key: K, value: V):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
key | K | |
value | V |
Overrides
addEntries
undocumented
addEntries
Definition
addEntries(entries:
StreamSource
<readonly [K, V]>):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
entries | StreamSource <readonly [K, V]> |
Overrides
asNormal
undocumented
asNormal
filter
undocumented
filter
Definition
filter(pred: (entry: [K, V], index: number, halt: () => void) => boolean, options?: {
negate?: boolean;
}):
WithKeyValue
<Tp, K, V>['normal'];
Parameters
Name | Type | Description |
---|---|---|
pred | (entry: [K, V], index: number, halt: () => void) => boolean | |
options | { negate?: boolean; } |
Overrides
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
getKeys
undocumented
getKeys
getValues
undocumented
getValues
hasEntry
undocumented
hasEntry
hasKey
undocumented
hasKey
hasValue
undocumented
hasValue
nonEmpty
Returns true since this collection is known to be non-empty
nonEmpty
Definition
nonEmpty(): this is
WithKeyValue
<Tp, K, V>['nonEmpty'];
HashBiMultiMap.of([1, 1], [2, 2]).nonEmpty() // => true
Overrides
BiMultiMapBase.nonEmpty, NonEmpty.nonEmpty, NonEmptyBase.nonEmpty
removeEntries
undocumented
removeEntries
Definition
removeEntries<UK = K>(entries:
StreamSource
<[
RelatedTo
<K, UK>, V]>):
WithKeyValue
<Tp, K, V>['normal'];
Type parameters
Name | Default | Description |
---|---|---|
UK | K |
Parameters
Name | Type | Description |
---|---|---|
entries | StreamSource <[ RelatedTo <K, UK>, V]> |
Overrides
removeEntry
undocumented
removeEntry
removeKey
undocumented
removeKey
removeKeys
undocumented
removeKeys
Definition
removeKeys<UK = K>(keys:
StreamSource
<
RelatedTo
<K, UK>>):
WithKeyValue
<Tp, K, V>['normal'];
Type parameters
Name | Default | Description |
---|---|---|
UK | K |
Parameters
Name | Type | Description |
---|---|---|
keys | StreamSource < RelatedTo <K, UK>> |
Overrides
removeValue
undocumented
removeValue
removeValues
undocumented
removeValues
Definition
removeValues<UV = V>(values:
StreamSource
<
RelatedTo
<V, UV>>):
WithKeyValue
<Tp, K, V>['normal'];
Type parameters
Name | Default | Description |
---|---|---|
UV | V |
Parameters
Name | Type | Description |
---|---|---|
values | StreamSource < RelatedTo <V, UV>> |
Overrides
setKeys
undocumented
setKeys
Definition
setKeys(value: V, keys:
StreamSource
<K>):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
value | V | |
keys | StreamSource <K> |
Overrides
setValues
undocumented
setValues
Definition
setValues(key: K, values:
StreamSource
<V>):
WithKeyValue
<Tp, K, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
key | K | |
values | StreamSource <V> |
Overrides
stream
undocumented
stream
streamKeys
undocumented
streamKeys
streamValues
undocumented
streamValues
toArray
undocumented
toArray
toBuilder
undocumented
toBuilder
toJSON
undocumented
toJSON
toString
undocumented
toString