de.caff.generics

## Class IterableConverter<T,S>

- java.lang.Object
- - de.caff.generics.IterableConverter<T,S>

- All Implemented Interfaces:
    java.lang.Iterable<T>

      public class IterableConverter<T,S>
      extends java.lang.Object
      implements java.lang.Iterable<T>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IterableConverter(java.lang.Iterable<S> iterable, java.util.function.Function<? super S,? extends T> typeConverter)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Iterator<T>` | `iterator()` Returns an iterator over a set of elements of type T.

    - ### 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

    - #### IterableConverter

          public IterableConverter(java.lang.Iterable<S> iterable,
                                   java.util.function.Function<? super S,? extends T> typeConverter)

      Constructor.
      Parameters:
        `iterable` - iterable to convert
        `typeConverter` - type converter to use for conversion

  - ### Method Detail

    - #### iterator

          @NotNull
          public java.util.Iterator<T> iterator()

      Returns an iterator over a set of elements of type T.
      Specified by:
        `iterator` in interface `java.lang.Iterable<T>`
      Returns:
        an Iterator.