public class PermutationGenerator<E> extends Object implements Iterator<List<E>>
| Constructor and Description |
|---|
PermutationGenerator(Collection<E> items)
WARNING: Don't make n too large.
|
PermutationGenerator(Iterable<E> items) |
public PermutationGenerator(Collection<E> items)
items - the items to permutepublic void reset()
public BigInteger getTotal()