public class BigIntegerPartialPermutations extends BigIntegerIndexedSpliterator<int[],BigIntegerPartialPermutations>
LongPartialPermutations.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LENGTH |
| Constructor and Description |
|---|
BigIntegerPartialPermutations(int length)
Constructs partial permutations of
length elements |
| Modifier and Type | Method and Description |
|---|---|
static java.math.BigInteger[] |
computeFactorials(int length) |
static java.math.BigInteger |
numberOfPermutations(int n) |
bigCount, characteristics, count, estimateSize, forEachRemaining, getFence, getIndex, parallelStream, shuffle, skip, skip, stream, tryAdvance, trySplit, withAdditionalCharacteristics, withShuffler, withValueSupplierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComparator, getExactSizeIfKnown, hasCharacteristicsordered, shufflepublic static final int MAX_LENGTH
public BigIntegerPartialPermutations(int length)
length elementspublic static java.math.BigInteger numberOfPermutations(int n)
java.lang.IllegalArgumentException - if n is negative or too big (> 10000)public static java.math.BigInteger[] computeFactorials(int length)