Interface Traversable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      <U> Traversable<U> flatMap​(java.util.function.Function<? super T,​? extends java.lang.Iterable<? extends U>> mapper)  
      <U> Traversable<U> map​(java.util.function.Function<? super T,​? extends U> mapper)  
      default <C> C to​(java.util.function.Function<java.lang.Iterable<T>,​C> fromIterable)  
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • flatMap

        <U> Traversable<U> flatMap​(java.util.function.Function<? super T,​? extends java.lang.Iterable<? extends U>> mapper)
      • map

        <U> Traversable<U> map​(java.util.function.Function<? super T,​? extends U> mapper)
      • to

        default <C> C to​(java.util.function.Function<java.lang.Iterable<T>,​C> fromIterable)