class MultiSetNonEmpty<T,Tp,TpG>
undocumented
Extends: NonEmptyBase<E>
Implements: MultiSetBase.NonEmpty<T,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
T | undocumented | ||
Tp | ContextImplTypes | undocumented | |
TpG | WithElem <Tp, T> | WithElem <Tp, T> | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
context
undocumented
context
countMap
undocumented
countMap
isEmpty
undocumented
isEmpty
size
undocumented
size
sizeDistinct
undocumented
sizeDistinct
Methods
[Symbol.iterator]
undocumented
[Symbol.iterator]
Definition
[Symbol.iterator]():
FastIterator
<E>;
Overrides
NonEmptyBase.[Symbol.iterator], FastIterable.[Symbol.iterator]
add
undocumented
add
addAll
undocumented
addAll
Definition
addAll(values:
StreamSource
<T>): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
values | StreamSource <T> |
Overrides
addEntries
undocumented
addEntries
Definition
addEntries(entries:
StreamSource
<readonly [T, number]>): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
entries | StreamSource <readonly [T, number]> |
Overrides
asNormal
undocumented
asNormal
assumeNonEmpty
undocumented
assumeNonEmpty
Definition
assumeNonEmpty(): any;
Overrides
NonEmptyBase.assumeNonEmpty, VariantMultiSetBase.assumeNonEmpty
copy
undocumented
copy
copyE
undocumented
copyE
count
undocumented
count
filterEntries
undocumented
filterEntries
forEach
undocumented
forEach
Definition
forEach(f: (value: T, index: number, halt: () => void) => void, options?: {
reversed?: boolean;
state?:
TraverseState
;
}): void;
Parameters
Name | Type | Description |
---|---|---|
f | (value: T, index: number, halt: () => void) => void | |
options | { reversed?: boolean; state?: TraverseState ; } |
Overrides
has
undocumented
has
modifyCount
undocumented
modifyCount
remove
undocumented
remove
removeAllEvery
undocumented
removeAllEvery
Definition
removeAllEvery<U>(elems:
StreamSource
<
RelatedTo
<T, U>>): TpG['normal'];
Type parameters
Name | Description |
---|---|
U |
Parameters
Name | Type | Description |
---|---|---|
elems | StreamSource < RelatedTo <T, U>> |
Overrides
removeAllSingle
undocumented
removeAllSingle
Definition
removeAllSingle<U>(elems:
StreamSource
<
RelatedTo
<T, U>>): TpG['normal'];
Type parameters
Name | Description |
---|---|
U |
Parameters
Name | Type | Description |
---|---|---|
elems | StreamSource < RelatedTo <T, U>> |
Overrides
setCount
undocumented
setCount
stream
undocumented
stream
streamDistinct
undocumented
streamDistinct
toArray
undocumented
toArray
toBuilder
undocumented
toBuilder
toJSON
undocumented
toJSON
toString
undocumented
toString