Class MoreCollectors


  • public final class MoreCollectors
    extends java.lang.Object
    Custom collectors for collections streaming.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T,​K,​U>
      java.util.stream.Collector<T,​?,​java.util.Map<K,​U>>
      toLinkedMap​(java.util.function.Function<? super T,​? extends K> keyMapper, java.util.function.Function<? super T,​? extends U> valueMapper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toLinkedMap

        public static <T,​K,​U> java.util.stream.Collector<T,​?,​java.util.Map<K,​U>> toLinkedMap​(java.util.function.Function<? super T,​? extends K> keyMapper,
                                                                                                                           java.util.function.Function<? super T,​? extends U> valueMapper)