public class Combinations extends StreamableProxy<int[],Combinations>
Streamable providing streams of combinations.
LongCombinations or BigIntegerCombinations, depending on the values of n and k.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_N |
| Constructor and Description |
|---|
Combinations(int n,
int k)
k-combinations from a set of n elements |
| Modifier and Type | Method and Description |
|---|---|
protected Streamable<int[],?> |
getDelegate() |
bigCount, count, parallelStream, shuffle, skip, skip, stream, withAdditionalCharacteristicsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitordered, shufflepublic static final int MAX_N
public Combinations(int n,
int k)
k-combinations from a set of n elementsprotected Streamable<int[],?> getDelegate()
getDelegate in class StreamableProxy<int[],Combinations>