Uses of Class
io.vavr.collection.HashMap
Packages that use HashMap
-
Uses of HashMap in io.vavr.collection
Methods in io.vavr.collection that return HashMapModifier and TypeMethodDescription<K2,V2> HashMap <K2, V2> HashMap.bimap(Function<? super K, ? extends K2> keyMapper, Function<? super V, ? extends V2> valueMapper) HashMap.distinct()HashMap.distinctBy(Comparator<? super Tuple2<K, V>> comparator) HashMap.distinctBy(Function<? super Tuple2<K, V>, ? extends U> keyExtractor) HashMap.drop(int n) HashMap.dropRight(int n) static <K,V> HashMap <K, V> HashMap.empty()static <K,V> HashMap <K, V> Returns a HashMap containing tuples returned byncalls to a given Suppliers.HashMap.filter(BiPredicate<? super K, ? super V> predicate) HashMap.filterKeys(Predicate<? super K> predicate) HashMap.filterValues(Predicate<? super V> predicate) <K2,V2> HashMap <K2, V2> HashMap.init()<K2,V2> HashMap <K2, V2> HashMap.map(BiFunction<? super K, ? super V, Tuple2<K2, V2>> mapper) HashMap.mapKeys(Function<? super K, ? extends K2> keyMapper, BiFunction<? super V, ? super V, ? extends V> valueMerge) HashMap.merge(Map<? extends K, U> that, BiFunction<? super V, ? super U, ? extends V> collisionResolution) static <K,V> HashMap <K, V> Narrows a widenedHashMap<? extends K, ? extends V>toHashMap<K, V>by performing a type-safe cast.static <K,V> HashMap <K, V> Returns a singletonHashMap, i.e. aHashMapof one element.static <K,V> HashMap <K, V> HashMap.of(K key, V value) Returns a singletonHashMap, i.e. aHashMapof one element.static <K,V> HashMap <K, V> HashMap.of(K k1, V v1, K k2, V v2) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(K k1, V v1, K k2, V v2, K k3, V v3) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(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) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(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) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(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) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> HashMap.of(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) Creates a HashMap of the given list of key-value pairs.static <K,V> HashMap <K, V> Returns aHashMap, from a source java.util.Map.static <T,K, V> HashMap <K, V> HashMap.ofAll(Stream<? extends T> stream, Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper) Returns aHashMap, from entries mapped from stream.static <T,K, V> HashMap <K, V> HashMap.ofAll(Stream<? extends T> stream, Function<? super T, Tuple2<? extends K, ? extends V>> entryMapper) Returns aHashMap, from entries mapped from stream.static <K,V> HashMap <K, V> Creates a HashMap of the given entries.static <K,V> HashMap <K, V> Creates a HashMap of the given entries.static <K,V> HashMap <K, V> Creates a HashMap of the given entries.HashMap.put(K key, U value, BiFunction<? super V, ? super U, ? extends V> merge) HashMap.reject(BiPredicate<? super K, ? super V> predicate) HashMap.rejectKeys(Predicate<? super K> predicate) HashMap.rejectValues(Predicate<? super V> predicate) HashMap.removeAll(BiPredicate<? super K, ? super V> predicate) Deprecated.HashMap.removeKeys(Predicate<? super K> predicate) Deprecated.HashMap.removeValues(Predicate<? super V> predicate) Deprecated.HashMap.replaceAll(BiFunction<? super K, ? super V, ? extends V> function) HashMap.replaceValue(K key, V value) HashMap.scan(Tuple2<K, V> zero, BiFunction<? super Tuple2<K, V>, ? super Tuple2<K, V>, ? extends Tuple2<K, V>> operation) static <K,V> HashMap <K, V> Returns an HashMap containingnvalues of a given Functionfover a range of integer values from 0 ton - 1.HashMap.tail()HashMap.take(int n) HashMap.takeRight(int n) Methods in io.vavr.collection that return types with arguments of type HashMapModifier and TypeMethodDescriptionHashMap.collector()Returns aCollectorwhich may be used in conjunction withStream.collect(java.util.stream.Collector)to obtain aHashMap.Returns aCollectorwhich may be used in conjunction withStream.collect(java.util.stream.Collector)to obtain aHashMap.HashMap.collector(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper) Returns aCollectorwhich may be used in conjunction withStream.collect(java.util.stream.Collector)to obtain aHashMap.HashMap.computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) HashMap.computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) HashMap.grouped(int size) HashMap.initOption()HashMap.sliding(int size) HashMap.sliding(int size, int step) HashMap.tailOption()Methods in io.vavr.collection with parameters of type HashMap