de.caff.generics.util.combi

## Class Combinations.OfString

- java.lang.Object
- - de.caff.generics.util.combi.Combinations.OfString

- All Implemented Interfaces:
    java.lang.Iterable<java.lang.String>
  Enclosing class:
    Combinations<T>

      public static class Combinations.OfString
      extends java.lang.Object
      implements java.lang.Iterable<java.lang.String>

  The combinations of the characters of a string, as strings.
  See Also:
    `Combinations.OfChar`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OfString(int k, java.lang.CharSequence string)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Iterator<java.lang.String>` | `iterator()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### OfString

          public OfString(int k,
                          @NotNull
                          java.lang.CharSequence string)

      Constructor.
      Parameters:
        `k` - number of elements to choose, has to be non-negative and not more the size of `string`
        `string` - string which will be chosen

  - ### Method Detail

    - #### iterator

          public java.util.Iterator<java.lang.String> iterator()

      Specified by:
        `iterator` in interface `java.lang.Iterable<java.lang.String>`