Uses of Class
me.sbasalaev.collection.List
Packages that use List
Package
Description
Useful utilities that I use throughout my projects.
Collection framework.
-
Uses of List in me.sbasalaev
Methods in me.sbasalaev that return ListModifier and TypeMethodDescriptionstatic <T> List<T> Returns list with given element appended to the end of given list.static <T> List<T> Concatenates several lists together.static <T> List<T> API.list()Empty list.static <T> List<T> API.list(T... elements) List of given elements.Methods in me.sbasalaev with parameters of type List -
Uses of List in me.sbasalaev.collection
Subclasses of List in me.sbasalaev.collectionMethods in me.sbasalaev.collection that return ListModifier and TypeMethodDescriptionList.clone()Returns shallow immutable copy of this list.static <T> List<T> List.concatenated(List<? extends T>... lists) Concatenates several lists together.static <T> List<T> List.empty()Empty list.Returns new list that contains only elements of this list satisfying given condition.List.from(int offset) A view of this list that contains only elements starting from given offset.static <T> List<T> List view of given Java list.Values associated with given key in this multimap.List.indexed()A view of this list where each element is coupled with the corresponding index.<R> List<R> Returns view of this list with given mapping applied to all elements.<R> List<R> Returns new list with given mapping applied to all elements.static <T> List<T> List.of(T... elements) List of given elements.static <T> List<T> List.repeat(T element, int times) List that repeats the same element given number of times.List.reversed()A view of this list that contains the same elements in the reversed order.Traversable.sortedBy(Comparator<? super @Out T> comparing) Returns list of elements of this traversable sorted by given comparator.List.take(int limit) A view of this list that contains no more thanlimitelements.Collection.toList()Traversable.toList()Collects elements of this traversable into an immutable list.<U,R> List <R> List.zip(List<U> other, BiFunction<? super @Out T, ? super U, ? extends R> zipper) A combined view ofthisandotherlists using given zipper.Methods in me.sbasalaev.collection that return types with arguments of type ListModifier and TypeMethodDescriptionDeprecated.Methods in me.sbasalaev.collection with parameters of type ListModifier and TypeMethodDescriptionstatic <T> List<T> List.concatenated(List<? extends T>... lists) Concatenates several lists together.<U,R> List <R> List.zip(List<U> other, BiFunction<? super @Out T, ? super U, ? extends R> zipper) A combined view ofthisandotherlists using given zipper.
Traversable.groupedIntoSets(java.util.function.Function)orTraversable.groupedIntoLists(java.util.function.Function)instead.