Preparing search index...
The search index is not available
iteragain - v4.1.5
iteragain
internal/CombinationsIterator
CombinationsIterator
Class CombinationsIterator<T, Size>
Creates
size
length subsequences from the input
iterator
.
Type Parameters
T
Size
extends
number
Implements
IterableIterator
<
Tuple
<
T
,
Size
>
>
Index
Constructors
constructor
Properties
i
indices
n
pool
size
with
Replacement
Accessors
value
Methods
[iterator]
next
Constructors
constructor
new
Combinations
Iterator
<
T
,
Size
>
(
iterator
,
size
,
withReplacement
)
:
CombinationsIterator
<
T
,
Size
>
Type Parameters
T
Size
extends
number
Parameters
iterator
:
Iterator
<
T
,
any
,
any
>
size
:
Size
withReplacement
:
boolean
Returns
CombinationsIterator
<
T
,
Size
>
Properties
Protected
i
i
:
number
= 0
Protected
indices
indices
:
number
[]
Protected
n
n
:
number
Protected
pool
pool
:
T
[]
Protected
size
size
:
Size
Protected
with
Replacement
with
Replacement
:
boolean
Accessors
Protected
value
get
value
(
)
:
Tuple
<
T
,
Size
>
Returns
Tuple
<
T
,
Size
>
Methods
[iterator]
[iterator]
(
)
:
IterableIterator
<
Tuple
<
T
,
Size
>
,
any
,
any
>
Returns
IterableIterator
<
Tuple
<
T
,
Size
>
,
any
,
any
>
next
next
(
)
:
IteratorResult
<
Tuple
<
T
,
Size
>
,
any
>
Returns
IteratorResult
<
Tuple
<
T
,
Size
>
,
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
i
indices
n
pool
size
with
Replacement
Accessors
value
Methods
[iterator]
next
iteragain - v4.1.5
Loading...
Creates
size
length subsequences from the inputiterator
.