We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9379ee commit 13d6bdbCopy full SHA for 13d6bdb
src/main/java/org/paukov/combinatorics3/CombinationGenerator.java
@@ -19,10 +19,16 @@ public class CombinationGenerator<T> {
19
this.originalVector = originalVector;
20
}
21
22
+ /**
23
+ * Creates a generator to produce combinations of the given length of elements.
24
+ */
25
public IGenerator<List<T>> simple(int length) {
26
return new SimpleCombinationGenerator<>(originalVector, length);
27
28
29
30
+ * Creates a generator to produce combinations with repetitions of the given length of elements.
31
32
public IGenerator<List<T>> multi(int length) {
33
return new MultiCombinationGenerator<>(originalVector, length);
34
0 commit comments