public class PermutationGenerator
extends java.lang.Object
Constructor and Description |
---|
PermutationGenerator(int n) |
PermutationGenerator(int[] elements) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNextAsString() |
java.math.BigInteger |
getNumberOfPermutations() |
java.math.BigInteger |
getNumLeft() |
boolean |
hasNext() |
void |
init(int[] elements) |
int[] |
next() |
void |
reset() |
public PermutationGenerator(int n)
public PermutationGenerator(int[] elements)
public void init(int[] elements)
public void reset()
public java.math.BigInteger getNumLeft()
public java.math.BigInteger getNumberOfPermutations()
public boolean hasNext()
public int[] next()
public java.lang.String getNextAsString()