Uses of Class
cloud.opencode.base.collections.ImmutableList
Packages that use ImmutableList
Package
Description
Immutable Collections Package
不可变集合包
Transform Collections Package - Collection Transformation Utilities
转换集合包 - 集合转换工具
-
Uses of ImmutableList in cloud.opencode.base.collections
Methods in cloud.opencode.base.collections that return ImmutableListModifier and TypeMethodDescriptionImmutableList.Builder.build()Build the immutable list.static <E> ImmutableList<E> Return an immutable list containing the elements of the given iterable.static <E> ImmutableList<E> ImmutableList.copyOf(Collection<? extends E> elements) Return an immutable list containing the elements of the given collection.Ordering.immutableSortedCopy(Iterable<T> elements) Return an immutable sorted copy of the elements.static <E> ImmutableList<E> ImmutableList.of()Return an empty immutable list.static <E> ImmutableList<E> ImmutableList.of(E e1) Return an immutable list containing the given element.static <E> ImmutableList<E> ImmutableList.of(E... elements) Return an immutable list containing the given elements.static <E> ImmutableList<E> ImmutableList.of(E e1, E e2) Return an immutable list containing the given elements.FluentIterable.toImmutableList()Collect to immutable list.OpenCollectors.CollectorFlow.toImmutableList()Collect to ImmutableList.FluentIterable.toSortedList(Comparator<? super E> comparator) Collect to sorted immutable list.Methods in cloud.opencode.base.collections that return types with arguments of type ImmutableListModifier and TypeMethodDescriptionstatic <E> Collector<E, ?, ImmutableList<E>> OpenCollectors.toImmutableList()Collector to ImmutableList. -
Uses of ImmutableList in cloud.opencode.base.collections.immutable
Methods in cloud.opencode.base.collections.immutable that return ImmutableListModifier and TypeMethodDescriptionstatic <E> ImmutableList<E> ImmutableCollectionUtil.concat(ImmutableList<? extends E>... lists) Concatenate multiple lists into one.static <E> ImmutableList<E> ImmutableCollectionUtil.filter(ImmutableList<E> list, Predicate<? super E> predicate) Filter a list based on a predicate.static <E> ImmutableList<E> ImmutableCollectionUtil.reverse(ImmutableList<E> list) Reverse a list.static <E> ImmutableList<E> ImmutableCollectionUtil.subList(ImmutableList<E> list, int fromIndex, int toIndex) Get a sublist.static <E> ImmutableList<E> ImmutableCollectionUtil.toList(ImmutableMultiset<E> multiset) Convert an immutable multiset to an immutable list (preserving duplicates).static <E> ImmutableList<E> ImmutableCollectionUtil.toList(ImmutableSet<E> set) Convert an immutable set to an immutable list.static <T,R> ImmutableList <R> ImmutableCollectionUtil.transform(ImmutableList<T> list, Function<? super T, ? extends R> function) Transform a list using a mapping function.Methods in cloud.opencode.base.collections.immutable with parameters of type ImmutableListModifier and TypeMethodDescriptionstatic <E> ImmutableList<E> ImmutableCollectionUtil.concat(ImmutableList<? extends E>... lists) Concatenate multiple lists into one.static <E> ImmutableList<E> ImmutableCollectionUtil.filter(ImmutableList<E> list, Predicate<? super E> predicate) Filter a list based on a predicate.static <E> ImmutableList<E> ImmutableCollectionUtil.reverse(ImmutableList<E> list) Reverse a list.static <E> ImmutableList<E> ImmutableCollectionUtil.subList(ImmutableList<E> list, int fromIndex, int toIndex) Get a sublist.static <E> ImmutableSet<E> ImmutableCollectionUtil.toSet(ImmutableList<E> list) Convert an immutable list to an immutable set.static <T,R> ImmutableList <R> ImmutableCollectionUtil.transform(ImmutableList<T> list, Function<? super T, ? extends R> function) Transform a list using a mapping function. -
Uses of ImmutableList in cloud.opencode.base.collections.transform
Methods in cloud.opencode.base.collections.transform that return types with arguments of type ImmutableListModifier and TypeMethodDescriptionstatic <T> Collector<T, ?, ImmutableList<T>> MoreCollectorUtil.toImmutableList()Collector to ImmutableList.