Uses of Class
cloud.opencode.base.collections.ImmutableSet
Packages that use ImmutableSet
Package
Description
Immutable Collections Package
不可变集合包
Transform Collections Package - Collection Transformation Utilities
转换集合包 - 集合转换工具
-
Uses of ImmutableSet in cloud.opencode.base.collections
Methods in cloud.opencode.base.collections that return ImmutableSetModifier and TypeMethodDescriptionImmutableSet.Builder.build()Build the immutable set.static <E> ImmutableSet<E> Return an immutable set containing the elements of the given iterable.static <E> ImmutableSet<E> ImmutableSet.copyOf(Collection<? extends E> elements) Return an immutable set containing the elements of the given collection.static <E> ImmutableSet<E> ImmutableSet.of()Return an empty immutable set.static <E> ImmutableSet<E> ImmutableSet.of(E e1) Return an immutable set containing the given element.static <E> ImmutableSet<E> ImmutableSet.of(E... elements) Return an immutable set containing the given elements.static <E> ImmutableSet<E> ImmutableSet.of(E e1, E e2) Return an immutable set containing the given elements.FluentIterable.toImmutableSet()Collect to immutable set.OpenCollectors.CollectorFlow.toImmutableSet()Collect to ImmutableSet.Methods in cloud.opencode.base.collections that return types with arguments of type ImmutableSetModifier and TypeMethodDescriptionstatic <E> Collector<E, ?, ImmutableSet<E>> OpenCollectors.toImmutableSet()Collector to ImmutableSet. -
Uses of ImmutableSet in cloud.opencode.base.collections.immutable
Methods in cloud.opencode.base.collections.immutable that return ImmutableSetModifier and TypeMethodDescriptionstatic <E> ImmutableSet<E> ImmutableCollectionUtil.difference(ImmutableSet<E> set1, ImmutableSet<E> set2) Difference of two sets (elements in set1 but not in set2).static <E> ImmutableSet<E> ImmutableCollectionUtil.filter(ImmutableSet<E> set, Predicate<? super E> predicate) Filter a set based on a predicate.static <E> ImmutableSet<E> ImmutableCollectionUtil.intersection(ImmutableSet<E> set1, ImmutableSet<E> set2) Intersection of two sets.static <E> ImmutableSet<E> ImmutableCollectionUtil.toSet(ImmutableList<E> list) Convert an immutable list to an immutable set.static <T,R> ImmutableSet <R> ImmutableCollectionUtil.transform(ImmutableSet<T> set, Function<? super T, ? extends R> function) Transform a set using a mapping function.static <E> ImmutableSet<E> ImmutableCollectionUtil.union(ImmutableSet<? extends E>... sets) Union of multiple sets.Methods in cloud.opencode.base.collections.immutable with parameters of type ImmutableSetModifier and TypeMethodDescriptionstatic <E> ImmutableSet<E> ImmutableCollectionUtil.difference(ImmutableSet<E> set1, ImmutableSet<E> set2) Difference of two sets (elements in set1 but not in set2).static <E> ImmutableSet<E> ImmutableCollectionUtil.filter(ImmutableSet<E> set, Predicate<? super E> predicate) Filter a set based on a predicate.static <E> ImmutableSet<E> ImmutableCollectionUtil.intersection(ImmutableSet<E> set1, ImmutableSet<E> set2) Intersection of two sets.static <E> ImmutableList<E> ImmutableCollectionUtil.toList(ImmutableSet<E> set) Convert an immutable set to an immutable list.static <T,R> ImmutableSet <R> ImmutableCollectionUtil.transform(ImmutableSet<T> set, Function<? super T, ? extends R> function) Transform a set using a mapping function.static <E> ImmutableSet<E> ImmutableCollectionUtil.union(ImmutableSet<? extends E>... sets) Union of multiple sets. -
Uses of ImmutableSet in cloud.opencode.base.collections.transform
Methods in cloud.opencode.base.collections.transform that return types with arguments of type ImmutableSetModifier and TypeMethodDescriptionstatic <T> Collector<T, ?, ImmutableSet<T>> MoreCollectorUtil.toImmutableSet()Collector to ImmutableSet.