Class LazySelectManyIterable<TIn,​TOut>

java.lang.Object
de.renebergelt.quiterables.iterators.LazySelectManyIterable<TIn,​TOut>
Type Parameters:
TIn - Source type
TOut - Target type
All Implemented Interfaces:
Iterable<TOut>

public class LazySelectManyIterable<TIn,​TOut> extends Object implements Iterable<TOut>
Iterable which converts the elements of a source iterable of type TIn to an Iterable of type TOut using a Selector function and flattens the result enumeration
  • Constructor Details

    • LazySelectManyIterable

      public LazySelectManyIterable(Iterable<TIn> _wrapped, Selector<TIn,​Iterable<TOut>> _selectorFunc)
      Create a new lazy select many iterable which wraps the given iterable
      Parameters:
      _wrapped - The wrapped iterable
      _selectorFunc - Function to transform elements of the original iterable
  • Method Details