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) | 
| Modifier and Type | Method and Description | 
|---|---|
| BigInteger | getTotal() | 
| boolean | hasNext() | 
| List<E> | next()Generate next permutation (algorithm from Rosen p. | 
| void | remove() | 
| void | reset() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic PermutationGenerator(Collection<E> items)
items - the items to permutepublic void reset()
public BigInteger getTotal()