Uses of Interface
io.vavr.collection.Map
-
Packages that use Map Package Description io.vavr BesideAPIthe io.vavr package contains core types like (Checked)Functions and Tuples.io.vavr.collection Purely functional collections based on Traversable. -
-
Uses of Map in io.vavr
Methods in io.vavr with type parameters of type Map Modifier and Type Method Description static <T,K,V,E extends Tuple2<? extends K,? extends V>,R extends Map<K,V>>
RValueModule. toMap(Value<T> value, R empty, java.util.function.Function<E,R> ofElement, java.util.function.Function<java.lang.Iterable<E>,R> ofAll, java.util.function.Function<? super T,? extends E> f)Methods in io.vavr that return Map Modifier and Type Method Description static <K,V>
Map<K,V>API. LinkedMap()Alias forLinkedHashMap.empty()static <K,V>
Map<K,V>API. LinkedMap(Tuple2<? extends K,? extends V>... entries)Deprecated.Will be removed in a future version.static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1)Alias forLinkedHashMap.of(Object, Object)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9)static <K,V>
Map<K,V>API. LinkedMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10)static <K,V>
Map<K,V>API. Map()Alias forHashMap.empty()static <K,V>
Map<K,V>API. Map(Tuple2<? extends K,? extends V>... entries)Deprecated.Will be removed in a future version.static <K,V>
Map<K,V>API. Map(K k1, V v1)Alias forHashMap.of(Object, Object)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9)static <K,V>
Map<K,V>API. Map(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10)default <K,V>
Map<K,V>Value. toLinkedMap(java.util.function.Function<? super T,? extends Tuple2<? extends K,? extends V>> f)Converts this to aMap.default <K,V>
Map<K,V>Value. toLinkedMap(java.util.function.Function<? super T,? extends K> keyMapper, java.util.function.Function<? super T,? extends V> valueMapper)Converts this to aMap.default <K,V>
Map<K,V>Value. toMap(java.util.function.Function<? super T,? extends Tuple2<? extends K,? extends V>> f)Converts this to aMap.default <K,V>
Map<K,V>Value. toMap(java.util.function.Function<? super T,? extends K> keyMapper, java.util.function.Function<? super T,? extends V> valueMapper)Converts this to aMap. -
Uses of Map in io.vavr.collection
Classes in io.vavr.collection with type parameters of type Map Modifier and Type Interface Description (package private) static interfaceMaps.OfEntries<K,V,M extends Map<K,V>>Subinterfaces of Map in io.vavr.collection Modifier and Type Interface Description interfaceSortedMap<K,V>An immutableSortedMapinterface.Classes in io.vavr.collection that implement Map Modifier and Type Class Description classHashMap<K,V>An immutableHashMapimplementation based on a Hash array mapped trie (HAMT).classLinkedHashMap<K,V>An immutableLinkedHashMapimplementation that has predictable (insertion-order) iteration.classTreeMap<K,V>SortedMap implementation, backed by a Red/Black Tree.Fields in io.vavr.collection declared as Map Modifier and Type Field Description protected Map<K,Traversable<V>>AbstractMultimap. backMethods in io.vavr.collection with type parameters of type Map Modifier and Type Method Description (package private) static <K,V,M extends Map<K,V>>
Tuple2<V,M>Maps. computeIfAbsent(M map, K key, java.util.function.Function<? super K,? extends V> mappingFunction)(package private) static <K,V,M extends Map<K,V>>
Tuple2<Option<V>,M>Maps. computeIfPresent(M map, K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction)(package private) static <K,V,M extends Map<K,V>>
MMaps. distinct(M map)(package private) static <K,V,M extends Map<K,V>>
MMaps. distinctBy(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.Comparator<? super Tuple2<K,V>> comparator)(package private) static <K,V,U,M extends Map<K,V>>
MMaps. distinctBy(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Function<? super Tuple2<K,V>,? extends U> keyExtractor)(package private) static <K,V,M extends Map<K,V>>
MMaps. drop(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Supplier<M> emptySupplier, int n)(package private) static <K,V,M extends Map<K,V>>
MMaps. dropRight(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Supplier<M> emptySupplier, int n)(package private) static <K,V,M extends Map<K,V>>
MMaps. dropUntil(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. dropWhile(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. filter(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.BiPredicate<? super K,? super V> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. filter(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. filterKeys(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super K> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. filterValues(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super V> predicate)(package private) static <K,V,C,M extends Map<K,V>>
Map<C,M>Maps. groupBy(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)(package private) static <K,V,M extends Map<K,V>>
Iterator<M>Maps. grouped(M map, Maps.OfEntries<K,V,M> ofEntries, int size)(package private) static <K,V,M extends Map<K,V>>
Option<M>Maps. initOption(M map)(package private) static <K,V,K2,U extends Map<K2,V>>
UCollections. mapKeys(Map<K,V> source, U zero, java.util.function.Function<? super K,? extends K2> keyMapper, java.util.function.BiFunction<? super V,? super V,? extends V> valueMerge)(package private) static <K,V,M extends Map<K,V>>
MMaps. merge(M map, Maps.OfEntries<K,V,M> ofEntries, Map<? extends K,? extends V> that)(package private) static <K,V,U extends V,M extends Map<K,V>>
MMaps. merge(M map, Maps.OfEntries<K,V,M> ofEntries, Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)(package private) static <T,K,V,M extends Map<K,V>>
MMaps. ofStream(M map, 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 Map<K,V>>
MMaps. ofStream(M map, java.util.stream.Stream<? extends T> stream, java.util.function.Function<? super T,Tuple2<? extends K,? extends V>> entryMapper)(package private) static <K,V,M extends Map<K,V>>
Tuple2<M,M>Maps. partition(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. peek(M map, java.util.function.Consumer<? super Tuple2<K,V>> action)(package private) static <K,V,M extends Map<K,V>>
MMaps. put(M map, Tuple2<? extends K,? extends V> entry)(package private) static <K,V,U extends V,M extends Map<K,V>>
MMaps. put(M map, Tuple2<? extends K,U> entry, java.util.function.BiFunction<? super V,? super U,? extends V> merge)(package private) static <K,V,U extends V,M extends Map<K,V>>
MMaps. put(M map, K key, U value, java.util.function.BiFunction<? super V,? super U,? extends V> merge)(package private) static <K,V,M extends Map<K,V>>
MMaps. reject(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.BiPredicate<? super K,? super V> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. reject(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. rejectKeys(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super K> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. rejectValues(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super V> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. replace(M map, Tuple2<K,V> currentElement, Tuple2<K,V> newElement)(package private) static <K,V,M extends Map<K,V>>
MMaps. replace(M map, K key, V oldValue, V newValue)(package private) static <K,V,M extends Map<K,V>>
MMaps. replaceAll(M map, Tuple2<K,V> currentElement, Tuple2<K,V> newElement)(package private) static <K,V,M extends Map<K,V>>
MMaps. replaceAll(M map, java.util.function.BiFunction<? super K,? super V,? extends V> function)(package private) static <K,V,M extends Map<K,V>>
MMaps. replaceValue(M map, K key, V value)(package private) static <K,V,M extends Map<K,V>>
MMaps. scan(M map, Tuple2<K,V> zero, java.util.function.BiFunction<? super Tuple2<K,V>,? super Tuple2<K,V>,? extends Tuple2<K,V>> operation, java.util.function.Function<Iterator<Tuple2<K,V>>,Traversable<Tuple2<K,V>>> finisher)(package private) static <K,V,M extends Map<K,V>>
Iterator<M>Maps. slideBy(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Function<? super Tuple2<K,V>,?> classifier)(package private) static <K,V,M extends Map<K,V>>
Iterator<M>Maps. sliding(M map, Maps.OfEntries<K,V,M> ofEntries, int size)(package private) static <K,V,M extends Map<K,V>>
Iterator<M>Maps. sliding(M map, Maps.OfEntries<K,V,M> ofEntries, int size, int step)(package private) static <K,V,M extends Map<K,V>>
Tuple2<M,M>Maps. span(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)(package private) static <K,V,M extends Map<K,V>>
Option<M>Maps. tailOption(M map)(package private) static <K,V,M extends Map<K,V>>
MMaps. take(M map, Maps.OfEntries<K,V,M> ofEntries, int n)(package private) static <K,V,M extends Map<K,V>>
MMaps. takeRight(M map, Maps.OfEntries<K,V,M> ofEntries, int n)(package private) static <K,V,M extends Map<K,V>>
MMaps. takeUntil(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)(package private) static <K,V,M extends Map<K,V>>
MMaps. takeWhile(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Predicate<? super Tuple2<K,V>> predicate)Methods in io.vavr.collection that return Map Modifier and Type Method Description Map<K,Traversable<V>>AbstractMultimap. asMap()Map<K,Traversable<V>>Multimap. asMap()Converts thisMultimapto aMap<K2,V2>
Map<K2,V2>Map. bimap(java.util.function.Function<? super K,? extends K2> keyMapper, java.util.function.Function<? super V,? extends V2> valueMapper)Maps thisMapto a newMapwith different component type by applying a function to its elements.Map<K,V>Map. distinct()Map<K,V>Map. distinctBy(java.util.Comparator<? super Tuple2<K,V>> comparator)<U> Map<K,V>Map. distinctBy(java.util.function.Function<? super Tuple2<K,V>,? extends U> keyExtractor)Map<K,V>Map. drop(int n)Map<K,V>Map. dropRight(int n)Map<K,V>Map. dropUntil(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Map<K,V>Map. dropWhile(java.util.function.Predicate<? super Tuple2<K,V>> predicate)protected abstract <K2,V2>
Map<K2,V2>AbstractMultimap. emptyMapSupplier()protected <K2,V2>
Map<K2,V2>HashMultimap. emptyMapSupplier()protected <K2,V2>
Map<K2,V2>LinkedHashMultimap. emptyMapSupplier()protected <K2,V2>
Map<K2,V2>TreeMultimap. emptyMapSupplier()Map<K,V>Map. filter(java.util.function.BiPredicate<? super K,? super V> predicate)Returns a new Map consisting of all elements which satisfy the given predicate.Map<K,V>Map. filter(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Map<K,V>Map. filterKeys(java.util.function.Predicate<? super K> predicate)Returns a new Map consisting of all elements with keys which satisfy the given predicate.Map<K,V>Map. filterValues(java.util.function.Predicate<? super V> predicate)Returns a new Map consisting of all elements with values which satisfy the given predicate.<K2,V2>
Map<K2,V2>Map. flatMap(java.util.function.BiFunction<? super K,? super V,? extends java.lang.Iterable<Tuple2<K2,V2>>> mapper)FlatMaps thisMapto a newMapwith different component type.<C> Map<C,M>AbstractMultimap. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,Array<T>>Array. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,BitSet<T>>BitSet. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,BitSet<T>>BitSetModule.AbstractBitSet. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,CharSeq>CharSeq. groupBy(java.util.function.Function<? super java.lang.Character,? extends C> classifier)(package private) static <T,C,R extends java.lang.Iterable<T>>
Map<C,R>Collections. groupBy(Traversable<T> source, java.util.function.Function<? super T,? extends C> classifier, java.util.function.Function<? super java.lang.Iterable<T>,R> mapper)<C> Map<C,HashMap<K,V>>HashMap. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,HashSet<T>>HashSet. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,? extends IndexedSeq<T>>IndexedSeq. groupBy(java.util.function.Function<? super T,? extends C> classifier)default <C> Map<C,Iterator<T>>Iterator. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,? extends LinearSeq<T>>LinearSeq. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,LinkedHashMap<K,V>>LinkedHashMap. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,LinkedHashSet<T>>LinkedHashSet. groupBy(java.util.function.Function<? super T,? extends C> classifier)default <C> Map<C,List<T>>List. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,? extends Map<K,V>>Map. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)(package private) static <K,V,C,M extends Map<K,V>>
Map<C,M>Maps. groupBy(M map, Maps.OfEntries<K,V,M> ofEntries, java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,? extends Multimap<K,V>>Multimap. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,? extends PriorityQueue<T>>PriorityQueue. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,Queue<T>>Queue. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,? extends Seq<T>>Seq. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,? extends Set<T>>Set. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,? extends SortedMap<K,V>>SortedMap. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,? extends SortedMultimap<K,V>>SortedMultimap. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,? extends SortedSet<T>>SortedSet. groupBy(java.util.function.Function<? super T,? extends C> classifier)default <C> Map<C,Stream<T>>Stream. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,? extends Traversable<T>>Traversable. groupBy(java.util.function.Function<? super T,? extends C> classifier)Groups this elements by classifying the elements.default <C> Map<C,Seq<T>>Tree. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,TreeMap<K,V>>TreeMap. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)<C> Map<C,TreeSet<T>>TreeSet. groupBy(java.util.function.Function<? super T,? extends C> classifier)<C> Map<C,Vector<T>>Vector. groupBy(java.util.function.Function<? super T,? extends C> classifier)Map<K,V>Map. init()<K2,V2>
Map<K2,V2>Map. map(java.util.function.BiFunction<? super K,? super V,Tuple2<K2,V2>> mapper)Maps the entries of thisMapto form a newMap.<K2> Map<K2,V>Map. mapKeys(java.util.function.Function<? super K,? extends K2> keyMapper)Maps the keys of thisMapwhile preserving the corresponding values.<K2> Map<K2,V>Map. mapKeys(java.util.function.Function<? super K,? extends K2> keyMapper, java.util.function.BiFunction<? super V,? super V,? extends V> valueMerge)Maps the keys of thisMapwhile preserving the corresponding values and applying a value merge function on collisions.<V2> Map<K,V2>Map. mapValues(java.util.function.Function<? super V,? extends V2> valueMapper)Maps the values of thisMapwhile preserving the corresponding keys.Map<K,V>Map. merge(Map<? extends K,? extends V> that)Creates a new map which by merging the entries ofthismap andthatmap.<U extends V>
Map<K,V>Map. merge(Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)Creates a new map which by merging the entries ofthismap andthatmap.static <K,V>
Map<K,V>Map. narrow(Map<? extends K,? extends V> map)Narrows a widenedMap<? extends K, ? extends V>toMap<K, V>by performing a type-safe cast.Map<K,V>Map. orElse(java.lang.Iterable<? extends Tuple2<K,V>> other)Map<K,V>Map. orElse(java.util.function.Supplier<? extends java.lang.Iterable<? extends Tuple2<K,V>>> supplier)Map<K,V>Map. peek(java.util.function.Consumer<? super Tuple2<K,V>> action)Map<K,V>Map. put(Tuple2<? extends K,? extends V> entry)Convenience method forput(entry._1, entry._2).<U extends V>
Map<K,V>Map. put(Tuple2<? extends K,U> entry, java.util.function.BiFunction<? super V,? super U,? extends V> merge)Convenience method forput(entry._1, entry._2, merge).<U extends V>
Map<K,V>Map. put(K key, U value, java.util.function.BiFunction<? super V,? super U,? extends V> merge)Associates the specified value with the specified key in this map.Map<K,V>Map. put(K key, V value)Associates the specified value with the specified key in this map.Map<K,V>Map. reject(java.util.function.BiPredicate<? super K,? super V> predicate)Returns a new Map consisting of all elements which do not satisfy the given predicate.Map<K,V>Map. reject(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Map<K,V>Map. rejectKeys(java.util.function.Predicate<? super K> predicate)Returns a new Map consisting of all elements with keys which do not satisfy the given predicate.Map<K,V>Map. rejectValues(java.util.function.Predicate<? super V> predicate)Returns a new Map consisting of all elements with values which do not satisfy the given predicate.Map<K,V>Map. remove(K key)Removes the mapping for a key from this map if it is present.Map<K,V>Map. removeAll(java.lang.Iterable<? extends K> keys)Removes the mapping for a key from this map if it is present.Map<K,V>Map. removeAll(java.util.function.BiPredicate<? super K,? super V> predicate)Deprecated.Please usereject(BiPredicate)Map<K,V>Map. removeKeys(java.util.function.Predicate<? super K> predicate)Deprecated.Please userejectKeys(Predicate)Map<K,V>Map. removeValues(java.util.function.Predicate<? super V> predicate)Deprecated.Please userejectValues(Predicate)Map<K,V>Map. replace(Tuple2<K,V> currentElement, Tuple2<K,V> newElement)Map<K,V>Map. replace(K key, V oldValue, V newValue)Replaces the entry for the specified key only if currently mapped to the specified value.Map<K,V>Map. replaceAll(Tuple2<K,V> currentElement, Tuple2<K,V> newElement)Map<K,V>Map. replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function)Replaces each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception.Map<K,V>Map. replaceValue(K key, V value)Replaces the entry for the specified key only if it is currently mapped to some value.Map<K,V>Map. retainAll(java.lang.Iterable<? extends Tuple2<K,V>> elements)Map<K,V>Map. scan(Tuple2<K,V> zero, java.util.function.BiFunction<? super Tuple2<K,V>,? super Tuple2<K,V>,? extends Tuple2<K,V>> operation)Map<K,V>Map. tail()Map<K,V>Map. take(int n)Map<K,V>Map. takeRight(int n)Map<K,V>Map. takeUntil(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Map<K,V>Map. takeWhile(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Methods in io.vavr.collection that return types with arguments of type Map Modifier and Type Method Description default <K> Option<Map<K,T>>Traversable. arrangeBy(java.util.function.Function<? super T,? extends K> getKey)Matches each element with a unique key that you extract from it.Tuple2<V,? extends Map<K,V>>Map. computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)If the specified key is not already associated with a value, attempts to compute its value using the given mapping function and enters it into this map.Tuple2<Option<V>,? extends Map<K,V>>Map. computeIfPresent(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction)If the value for the specified key is present, attempts to compute a new mapping given the key and its current mapped value.<C> Map<C,? extends Map<K,V>>Map. groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier)Iterator<? extends Map<K,V>>Map. grouped(int size)Option<? extends Map<K,V>>Map. initOption()Tuple2<? extends Map<K,V>,? extends Map<K,V>>Map. partition(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Tuple2<? extends Map<K,V>,? extends Map<K,V>>Map. partition(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Iterator<? extends Map<K,V>>Map. slideBy(java.util.function.Function<? super Tuple2<K,V>,?> classifier)Iterator<? extends Map<K,V>>Map. sliding(int size)Iterator<? extends Map<K,V>>Map. sliding(int size, int step)Tuple2<? extends Map<K,V>,? extends Map<K,V>>Map. span(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Tuple2<? extends Map<K,V>,? extends Map<K,V>>Map. span(java.util.function.Predicate<? super Tuple2<K,V>> predicate)Option<? extends Map<K,V>>Map. tailOption()Methods in io.vavr.collection with parameters of type Map Modifier and Type Method Description protected abstract <K2,V2>
Multimap<K2,V2>AbstractMultimap. createFromMap(Map<K2,Traversable<V2>> back)protected <K2,V2>
HashMultimap<K2,V2>HashMultimap. createFromMap(Map<K2,Traversable<V2>> back)protected <K2,V2>
LinkedHashMultimap<K2,V2>LinkedHashMultimap. createFromMap(Map<K2,Traversable<V2>> back)protected <K2,V2>
TreeMultimap<K2,V2>TreeMultimap. createFromMap(Map<K2,Traversable<V2>> back)(package private) static <K,V>
booleanCollections. equals(Map<K,V> source, java.lang.Object object)(package private) static <K,V,K2,U extends Map<K2,V>>
UCollections. mapKeys(Map<K,V> source, U zero, java.util.function.Function<? super K,? extends K2> keyMapper, java.util.function.BiFunction<? super V,? super V,? extends V> valueMerge)HashMap<K,V>HashMap. merge(Map<? extends K,? extends V> that)<U extends V>
HashMap<K,V>HashMap. merge(Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)LinkedHashMap<K,V>LinkedHashMap. merge(Map<? extends K,? extends V> that)<U extends V>
LinkedHashMap<K,V>LinkedHashMap. merge(Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)Map<K,V>Map. merge(Map<? extends K,? extends V> that)Creates a new map which by merging the entries ofthismap andthatmap.<U extends V>
Map<K,V>Map. merge(Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)Creates a new map which by merging the entries ofthismap andthatmap.(package private) static <K,V,M extends Map<K,V>>
MMaps. merge(M map, Maps.OfEntries<K,V,M> ofEntries, Map<? extends K,? extends V> that)(package private) static <K,V,U extends V,M extends Map<K,V>>
MMaps. merge(M map, Maps.OfEntries<K,V,M> ofEntries, Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)SortedMap<K,V>SortedMap. merge(Map<? extends K,? extends V> that)<U extends V>
SortedMap<K,V>SortedMap. merge(Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)TreeMap<K,V>TreeMap. merge(Map<? extends K,? extends V> that)<U extends V>
TreeMap<K,V>TreeMap. merge(Map<? extends K,U> that, java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution)static <K,V>
Map<K,V>Map. narrow(Map<? extends K,? extends V> map)Narrows a widenedMap<? extends K, ? extends V>toMap<K, V>by performing a type-safe cast.Method parameters in io.vavr.collection with type arguments of type Map Modifier and Type Method Description default <U> UMap. transform(java.util.function.Function<? super Map<K,V>,? extends U> f)Transforms thisMap.Constructors in io.vavr.collection with parameters of type Map Constructor Description AbstractMultimap(Map<K,Traversable<V>> back, Multimap.ContainerType containerType, AbstractMultimap.SerializableSupplier<Traversable<?>> emptyContainer)HashMultimap(Map<K,Traversable<V>> back, Multimap.ContainerType containerType, AbstractMultimap.SerializableSupplier<Traversable<?>> emptyContainer)LinkedHashMultimap(Map<K,Traversable<V>> back, Multimap.ContainerType containerType, AbstractMultimap.SerializableSupplier<Traversable<?>> emptyContainer)TreeMultimap(Map<K,Traversable<V>> back, Multimap.ContainerType containerType, AbstractMultimap.SerializableSupplier<Traversable<?>> emptyContainer)
-