Class Multimaps


  • class Multimaps
    extends java.lang.Object
    INTERNAL: Common Multimap functions (not intended to be public).
    • Constructor Summary

      Constructors 
      Constructor Description
      Multimaps()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static <K,​V,​M extends Multimap<K,​V>>
      M
      ofJavaMap​(M source, java.util.Map<? extends K,​? extends V> map)  
      (package private) static <T,​K,​V,​M extends Multimap<K,​V>>
      M
      ofStream​(M source, java.util.stream.Stream<? extends T> stream, java.util.function.Function<? super T,​? extends K> keyMapper, java.util.function.Function<? super T,​? extends V> valueMapper)  
      (package private) static <T,​K,​V,​M extends Multimap<K,​V>>
      M
      ofStream​(M source, java.util.stream.Stream<? extends T> stream, java.util.function.Function<? super T,​Tuple2<? extends K,​? extends V>> entryMapper)  
      • Methods inherited from class java.lang.Object

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

      • Multimaps

        Multimaps()
    • Method Detail

      • ofJavaMap

        static <K,​V,​M extends Multimap<K,​V>> M ofJavaMap​(M source,
                                                                           java.util.Map<? extends K,​? extends V> map)
      • ofStream

        static <T,​K,​V,​M extends Multimap<K,​V>> M ofStream​(M source,
                                                                                  java.util.stream.Stream<? extends T> stream,
                                                                                  java.util.function.Function<? super T,​? extends K> keyMapper,
                                                                                  java.util.function.Function<? super T,​? extends V> valueMapper)
      • ofStream

        static <T,​K,​V,​M extends Multimap<K,​V>> M ofStream​(M source,
                                                                                  java.util.stream.Stream<? extends T> stream,
                                                                                  java.util.function.Function<? super T,​Tuple2<? extends K,​? extends V>> entryMapper)