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