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