public static class Combinations.OfInt extends java.lang.Object implements java.lang.Iterable<IntIndexable>
| Constructor and Description |
|---|
OfInt(int k,
int... values)
Constructor.
|
OfInt(int k,
IntIndexable values)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<IntIndexable> |
iterator() |
public OfInt(int k,
@NotNull
IntIndexable values)
k - number of elements to choose, has to be non-negative
and not more the size of valuesvalues - set of numbers from which there will be chosenpublic OfInt(int k,
@NotNull
int... values)
k - number of elements to choose, has to be non-negative
and not more the size of valuesvalues - set of numbers from which there will be chosenpublic java.util.Iterator<IntIndexable> iterator()
iterator in interface java.lang.Iterable<IntIndexable>