Class Mapped<Y>

  • Type Parameters:
    Y - Type of target item
    All Implemented Interfaces:
    Iterable<Y>

    public final class Mapped<Y>
    extends IterableEnvelope<Y>
    Mapped iterable.

    There is no thread-safety guarantee.

    Since:
    0.1
    • Constructor Detail

      • Mapped

        @SafeVarargs
        public Mapped​(Func<? super X,​? extends Y> fnc,
                      X... src)
        Ctor.
        Type Parameters:
        X - Type of source item
        Parameters:
        fnc - Func
        src - Source iterable
      • Mapped

        public Mapped​(Func<? super X,​? extends Y> fnc,
                      Iterable<? extends X> src)
        Ctor.
        Type Parameters:
        X - Type of source item
        Parameters:
        fnc - Func
        src - Source iterable