public class PermutationByBlock extends Permutation
| Constructor and Description |
|---|
PermutationByBlock(int i) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(ArrayListOfIntsWritable lst,
int[] arr)
Add all ints in the specified array into this object.
|
int |
getKeyLen() |
static void |
main(String[] args) |
ArrayListOfIntsWritable |
nextPermutation() |
writeToFilepublic PermutationByBlock(int i)
i - length of permutationpublic void addAll(ArrayListOfIntsWritable lst, int[] arr)
arr - array of ints to add to this objectpublic int getKeyLen()
public static void main(String[] args)
public ArrayListOfIntsWritable nextPermutation()
nextPermutation in class Permutation