public static final class Subsets.KSubsetsList extends java.lang.Object implements java.util.Iterator<IAST>, java.lang.Iterable<IAST>
| Constructor and Description |
|---|
KSubsetsList(java.util.Iterator<int[]> iterable,
IAST list,
int k,
IAST resultList) |
KSubsetsList(java.util.Iterator<int[]> iterable,
IAST list,
int k,
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 partition.
|
void |
remove() |
public KSubsetsList(java.util.Iterator<int[]> iterable,
IAST list,
int k,
IAST resultList)
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>