public static final class Permutations.KPermutationsList extends java.lang.Object implements java.util.Iterator<IAST>, java.lang.Iterable<IAST>
Constructor and Description |
---|
KPermutationsList(IAST list,
int parts,
IAST resultList) |
KPermutationsList(IAST list,
int parts,
IAST resultList,
int offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.util.Iterator<IAST> |
iterator() |
IAST |
next()
Get the index array for the next permutation.
|
void |
remove() |
public IAST next()
next
in interface java.util.Iterator<IAST>
null
if no further index array could be generatedpublic boolean hasNext()
hasNext
in interface java.util.Iterator<IAST>
public void remove()
remove
in interface java.util.Iterator<IAST>