Uses of Class
cloud.opencode.base.collections.ImmutableMap
Packages that use ImmutableMap
Package
Description
Transform Collections Package - Collection Transformation Utilities
转换集合包 - 集合转换工具
-
Uses of ImmutableMap in cloud.opencode.base.collections
Methods in cloud.opencode.base.collections that return ImmutableMapModifier and TypeMethodDescriptionImmutableMap.Builder.build()Build the immutable map.static <K,V> ImmutableMap <K, V> Return an immutable map containing the elements of the given map.static <K,V> ImmutableMap <K, V> ImmutableMap.of()Return an empty immutable map.static <K,V> ImmutableMap <K, V> ImmutableMap.of(K k1, V v1) Return an immutable map containing the given entry.static <K,V> ImmutableMap <K, V> ImmutableMap.of(K k1, V v1, K k2, V v2) Return an immutable map containing the given entries.static <K,V> ImmutableMap <K, V> ImmutableMap.of(K k1, V v1, K k2, V v2, K k3, V v3) Return an immutable map containing the given entries.static <K,V> ImmutableMap <K, V> ImmutableMap.of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) Return an immutable map containing the given entries.static <K,V> ImmutableMap <K, V> ImmutableMap.of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) Return an immutable map containing the given entries.Methods in cloud.opencode.base.collections that return types with arguments of type ImmutableMapModifier and TypeMethodDescriptionstatic <T,K, V> Collector <T, ?, ImmutableMap<K, V>> OpenCollectors.toImmutableMap(Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) Collector to ImmutableMap. -
Uses of ImmutableMap in cloud.opencode.base.collections.transform
Methods in cloud.opencode.base.collections.transform that return types with arguments of type ImmutableMapModifier and TypeMethodDescriptionstatic <T,K> Collector <T, ?, ImmutableMap<K, T>> Collector to create unique index map.static <T,K, V> Collector <T, ?, ImmutableMap<K, V>> MoreCollectorUtil.toImmutableMap(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper) Collector to ImmutableMap.static <T,K, V> Collector <T, ?, ImmutableMap<K, V>> MoreCollectorUtil.toImmutableMap(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper, BinaryOperator<V> mergeFunction) Collector to ImmutableMap with merge function.