Class MappingIterable<T,​R>

  • All Implemented Interfaces:
    java.lang.Iterable<R>

    public class MappingIterable<T,​R>
    extends java.lang.Object
    implements java.lang.Iterable<R>
    • Constructor Summary

      Constructors 
      Constructor Description
      MappingIterable​(java.lang.Iterable<T> iterable, java.util.function.Function<T,​R> function)  
    • Method Summary

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

      • MappingIterable

        public MappingIterable​(@NotNull
                               java.lang.Iterable<T> iterable,
                               @NotNull
                               java.util.function.Function<T,​R> function)
    • Method Detail

      • iterator

        @NotNull
        public java.util.Iterator<R> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T>