de.caff.generics.util.combi

## Class Combinations.OfBoolean

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

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

      public static class Combinations.OfBoolean
      extends java.lang.Object
      implements java.lang.Iterable<BooleanIndexable>

  Combinations of boolean values.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OfBoolean(int k, boolean... values)` Constructor.
    `OfBoolean(int k, BooleanIndexable values)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Iterator<BooleanIndexable>` | `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

    - #### OfBoolean

          public OfBoolean(int k,
                           @NotNull
                           BooleanIndexable values)

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

    - #### OfBoolean

          public OfBoolean(int k,
                           @NotNull
                           boolean... values)

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

  - ### Method Detail

    - #### iterator

          public java.util.Iterator<BooleanIndexable> iterator()

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