class OrderedSetNonEmpty<T,Tp,TpG>
undocumented
Extends: NonEmptyBase<E>
Implements: OrderedSetBase.NonEmpty<T,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
T | undocumented | ||
Tp | OrderedSetTypes | undocumented | |
TpG | WithElem <Tp, T> | WithElem <Tp, T> | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
context
undocumented
context
isEmpty
undocumented
isEmpty
order
undocumented
order
size
undocumented
size
sourceSet
undocumented
sourceSet
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
asNormal
undocumented
asNormal
assumeNonEmpty
undocumented
assumeNonEmpty
copy
undocumented
copy
Definition
copy(order?:
List.NonEmpty
<T>, sourceSet?: TpG["sourceSetNonEmpty"]): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
order | List.NonEmpty <T> | |
sourceSet | TpG["sourceSetNonEmpty"] |
difference
undocumented
difference
Definition
difference(other:
StreamSource
<T>): TpG['normal'];
Parameters
Name | Type | Description |
---|---|---|
other | StreamSource <T> |
Overrides
filter
undocumented
filter
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
intersect
undocumented
intersect
Definition
intersect(other:
StreamSource
<T>): TpG['normal'];
Parameters
Name | Type | Description |
---|---|---|
other | StreamSource <T> |
Overrides
remove
undocumented
remove
removeAll
undocumented
removeAll
Definition
removeAll<U>(values:
StreamSource
<
RelatedTo
<T, U>>): TpG['normal'];
Type parameters
Name | Description |
---|---|
U |
Parameters
Name | Type | Description |
---|---|---|
values | StreamSource < RelatedTo <T, U>> |
Overrides
stream
undocumented
stream
Definition
stream(options?: {
reversed?: boolean;
}):
Stream.NonEmpty
<T>;
Parameters
Name | Type | Description |
---|---|---|
options | { reversed?: boolean; } |
Overrides
symDifference
undocumented
symDifference
Definition
symDifference(other:
StreamSource
<T>): TpG['normal'];
Parameters
Name | Type | Description |
---|---|---|
other | StreamSource <T> |
Overrides
toArray
undocumented
toArray
toBuilder
undocumented
toBuilder
toJSON
undocumented
toJSON
toString
undocumented
toString
union
undocumented
union
Definition
union(other:
StreamSource
<T>): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
other | StreamSource <T> |