E - type of the elementspublic abstract class AbstractPermutations<E> extends AbstractImmutableList<ImmutableList<E>> implements Permutations<E>
| Modifier and Type | Field and Description |
|---|---|
protected ImmutableList<E> |
drawlist |
protected int |
drawlistsize |
protected int |
drawsize |
| Constructor and Description |
|---|
AbstractPermutations(ImmutableList<E> list,
int n)
all permutations of a given list, drawing n items from the list
|
get, iterator, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, get, sizeprotected final ImmutableList<E> drawlist
protected final int drawlistsize
protected final int drawsize
public AbstractPermutations(ImmutableList<E> list, int n)
list - list to be permutedn - the number of items to draw from the list. Must be between 0
and size of list.