public static final class Permutations.KPermutationsIterable
extends java.lang.Object
implements java.util.Iterator<int[]>, java.lang.Iterable<int[]>
Constructor and Description |
---|
KPermutationsIterable(int[] data,
int parts) |
KPermutationsIterable(int[] data,
int len,
int parts) |
KPermutationsIterable(java.util.List<T> fun,
int parts,
int headOffset) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.util.Iterator<int[]> |
iterator() |
int[] |
next() |
void |
remove() |
public KPermutationsIterable(int[] data, int parts)
public KPermutationsIterable(int[] data, int len, int parts)
public KPermutationsIterable(java.util.List<T> fun, int parts, int headOffset)
public int[] next()
next
in interface java.util.Iterator<int[]>
public boolean hasNext()
hasNext
in interface java.util.Iterator<int[]>
public void remove()
remove
in interface java.util.Iterator<int[]>
public java.util.Iterator<int[]> iterator()
iterator
in interface java.lang.Iterable<int[]>