public class Partition
extends java.lang.Object
Constructor and Description |
---|
Partition(int s,
int size) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Integer> |
getNextCombination() |
boolean |
hasMoreCombinations() |
void |
partition(int n) |
void |
partition(int n,
int max,
java.util.List<java.lang.Integer> prefix) |