ClassType
- Class type of the subsetpublic static class Combinations.SubsetIterator<ClassType> extends Combinations.AbstractCombinationsIterator<Combinations.SubsetIterator<ClassType>,java.util.LinkedList<ClassType>>
Constructor and Description |
---|
SubsetIterator(int N,
int k,
java.util.ArrayList<ClassType> set)
Creates a new instance of SubsetIterator
|
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<ClassType> |
next() |
hasNext, remove
clone
public SubsetIterator(int N, int k, java.util.ArrayList<ClassType> set)
N
- Universe set sizek
- Number of objects to choose from the universe set.set
- Universal set into which to index.public java.util.LinkedList<ClassType> next()