Top Description Constructors Methods
io.vavr.collection

pack-priv Class Multimaps

extends Object
Class Inheritance
Imports
io.vavr.Tuple2, java.util.Objects, java.util.function.Function

INTERNAL: Common Multimap functions (not intended to be public).
Author
Ruslan Sennov, Daniel Dietrich

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static <K, V, M extends Multimap<K, V>> M
ofJavaMap(M source, Map<? extends K, ? extends V> map)

pack-priv static <T, K, V, M extends Multimap<K, V>> M
ofStream(M source, Stream<? extends T> stream, Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper)

pack-priv static <T, K, V, M extends Multimap<K, V>> M
ofStream(M source, Stream<? extends T> stream, Function<? super T, Tuple2<? extends K, ? extends V>> entryMapper)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Multimapsback to summary
pack-priv Multimaps()

Method Detail

ofJavaMapback to summary
pack-priv static <K, V, M extends Multimap<K, V>> M ofJavaMap(M source, Map<? extends K, ? extends V> map)
Annotations
@SuppressWarnings:unchecked
ofStreamback to summary
pack-priv static <T, K, V, M extends Multimap<K, V>> M ofStream(M source, Stream<? extends T> stream, Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper)
Annotations
@SuppressWarnings:unchecked
ofStreamback to summary
pack-priv static <T, K, V, M extends Multimap<K, V>> M ofStream(M source, Stream<? extends T> stream, Function<? super T, Tuple2<? extends K, ? extends V>> entryMapper)
Annotations
@SuppressWarnings:unchecked