public interface IntArraySupplier
LongIndexedSpliterator
or BigIntegerIndexedSpliterator
) with the type parameter int[]
.
Modifier and Type | Method and Description |
---|---|
void |
computeNext()
Computes the value to be supplied next, using the currently supplied value.
|
int[] |
getCurrentSequence() |
default int[] |
getNextSequence(boolean useNext)
Retrieves the next value to be supplied.
|
int[] |
unrank() |
int[] getCurrentSequence()
void computeNext()
getCurrentSequence()
should return this newly computed value.int[] unrank()
default int[] getNextSequence(boolean useNext)
getCurrentSequence()
will return an equal (but not identical) value.useNext
- true, if the next value can be computed based on the current one;getCurrentSequence()
.