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