Uses of Class
cloud.opencode.base.collections.immutable.ImmutableMultiset
Packages that use ImmutableMultiset
Package
Description
Immutable Collections Package
不可变集合包
Transform Collections Package - Collection Transformation Utilities
转换集合包 - 集合转换工具
-
Uses of ImmutableMultiset in cloud.opencode.base.collections.immutable
Methods in cloud.opencode.base.collections.immutable that return ImmutableMultisetModifier and TypeMethodDescriptionImmutableMultiset.Builder.build()Build the immutable multiset.static <E> ImmutableMultiset<E> ImmutableCollectionUtil.combine(ImmutableMultiset<? extends E>... multisets) Combine multiple multisets.static <E> ImmutableMultiset<E> Return an immutable multiset containing the elements of the given iterable.static <E> ImmutableMultiset<E> ImmutableMultiset.copyOf(Collection<? extends E> elements) Return an immutable multiset containing the elements of the given collection.static <E> ImmutableMultiset<E> ImmutableMultiset.of()Return an empty immutable multiset.static <E> ImmutableMultiset<E> ImmutableMultiset.of(E e1) Return an immutable multiset containing the given element.static <E> ImmutableMultiset<E> ImmutableMultiset.of(E... elements) Return an immutable multiset containing the given elements.static <E> ImmutableMultiset<E> ImmutableMultiset.of(E e1, E e2) Return an immutable multiset containing the given elements.static <E> ImmutableMultiset<E> ImmutableCollectionUtil.toMultiset(Collection<? extends E> collection) Convert a collection to an immutable multiset.static <T,R> ImmutableMultiset <R> ImmutableCollectionUtil.transform(ImmutableMultiset<T> multiset, Function<? super T, ? extends R> function) Transform a multiset using a mapping function.Methods in cloud.opencode.base.collections.immutable with parameters of type ImmutableMultisetModifier and TypeMethodDescriptionstatic <E> ImmutableMultiset<E> ImmutableCollectionUtil.combine(ImmutableMultiset<? extends E>... multisets) Combine multiple multisets.static <E> ImmutableList<E> ImmutableCollectionUtil.toList(ImmutableMultiset<E> multiset) Convert an immutable multiset to an immutable list (preserving duplicates).static <T,R> ImmutableMultiset <R> ImmutableCollectionUtil.transform(ImmutableMultiset<T> multiset, Function<? super T, ? extends R> function) Transform a multiset using a mapping function. -
Uses of ImmutableMultiset in cloud.opencode.base.collections.transform
Methods in cloud.opencode.base.collections.transform that return types with arguments of type ImmutableMultisetModifier and TypeMethodDescriptionstatic <T> Collector<T, ?, ImmutableMultiset<T>> MoreCollectorUtil.toImmutableMultiset()Collector to ImmutableMultiset.