public static class Combinations.OfString
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
Combinations.OfChar| Constructor and Description |
|---|
OfString(int k,
java.lang.CharSequence string)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<java.lang.String> |
iterator() |
public OfString(int k,
@NotNull
java.lang.CharSequence string)
k - number of elements to choose, has to be non-negative
and not more the size of stringstring - string which will be chosen