public static class PowerSetSupplier.BigInt extends PowerSetSupplier implements Splittable.BigIntegerIndexed<int[]>
PowerSetSupplier.BigInt, PowerSetSupplier.Long
Splittable.BigIntegerIndexed<T>, Splittable.LongIndexed<T>
binaryCounter, currentPowerSet, length
IDENTITY
Constructor and Description |
---|
BigInt(int length) |
Modifier and Type | Method and Description |
---|---|
int[] |
apply(java.math.BigInteger index) |
Splittable.BigIntegerIndexed<int[]> |
split()
Splits this instance.
|
int[] |
unrank() |
computeNext, getCurrentSequence, getNextSequence
public int[] apply(java.math.BigInteger index)
apply
in interface java.util.function.Function<java.math.BigInteger,int[]>
public Splittable.BigIntegerIndexed<int[]> split()
Splittable
split
in interface Splittable<Splittable.BigIntegerIndexed<int[]>>
public int[] unrank()
unrank
in interface IntArraySupplier