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