Uses of Class
cloud.opencode.base.collections.immutable.ImmutableBiMap
Packages that use ImmutableBiMap
Package
Description
Immutable Collections Package
不可变集合包
Transform Collections Package - Collection Transformation Utilities
转换集合包 - 集合转换工具
-
Uses of ImmutableBiMap in cloud.opencode.base.collections.immutable
Methods in cloud.opencode.base.collections.immutable that return ImmutableBiMapModifier and TypeMethodDescriptionImmutableBiMap.Builder.build()Build the immutable bimap.static <K,V> ImmutableBiMap <K, V> Return an immutable bimap containing the entries of the given map.ImmutableBiMap.inverse()Return the inverse view of this bimap.static <K,V> ImmutableBiMap <K, V> ImmutableBiMap.of()Return an empty immutable bimap.static <K,V> ImmutableBiMap <K, V> ImmutableBiMap.of(K k1, V v1) Return an immutable bimap containing the given entry.static <K,V> ImmutableBiMap <K, V> ImmutableBiMap.of(K k1, V v1, K k2, V v2) Return an immutable bimap containing the given entries.static <K,V> ImmutableBiMap <K, V> Convert a map to an immutable bimap.static <K,V> ImmutableBiMap <K, V> ImmutableCollectionUtil.zipToBiMap(List<? extends K> keys, List<? extends V> values) Create a bimap from two lists (keys and values). -
Uses of ImmutableBiMap in cloud.opencode.base.collections.transform
Methods in cloud.opencode.base.collections.transform that return types with arguments of type ImmutableBiMapModifier and TypeMethodDescriptionstatic <T,K, V> Collector <T, ?, ImmutableBiMap<K, V>> MoreCollectorUtil.toImmutableBiMap(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper) Collector to ImmutableBiMap.