Uses of Interface
com.jongsoft.lang.collection.List
-
Packages that use List Package Description com.jongsoft.lang.collection A purely functional based set of collection implementations based upon the Collection. -
-
Uses of List in com.jongsoft.lang.collection
Subinterfaces of List in com.jongsoft.lang.collection Modifier and Type Interface Description interface
Sequence<T>
Sequences are ordered collections of elements.interface
Set<T>
The set is an extension of theCollection
interface that guarantees only unique elements are contained within the set.Methods in com.jongsoft.lang.collection that return List Modifier and Type Method Description List<T>
List. append(T value)
Create a new list containing all elements in this instance and appending the providedvalue
to the end of the new list.List<T>
List. distinctBy(java.util.Comparator<T> comparator)
Creates a distinct list based upon the provided comparator.List<T>
List. filter(java.util.function.Predicate<T> predicate)
<U> List<U>
List. map(java.util.function.Function<T,U> mapper)
List<T>
List. orElse(java.lang.Iterable<? extends T> other)
List<T>
List. orElse(java.util.function.Supplier<? extends java.lang.Iterable<? extends T>> supplier)
List<T>
List. reject(java.util.function.Predicate<T> predicate)
List<T>
List. remove(int index)
Removes an element from the list and returns a new instance of the list.List<T>
List. sorted()
Sorts the specified array of objects into ascending order, according to the natural ordering of its elements.List<T>
List. tail()
List<T>
List. union(java.lang.Iterable<T> iterable)
Create a new sequence with all elements of this sequence combined with the elements of the provided iterable.Methods in com.jongsoft.lang.collection that return types with arguments of type List Modifier and Type Method Description <K> Map<K,? extends List<T>>
List. groupBy(java.util.function.Function<? super T,? extends K> keyGenerator)
Generate a new sequence using thekeyGenerator
.static <T> java.util.stream.Collector<T,java.util.ArrayList<T>,List<T>>
Collectors. toLinkedList()
static <T> java.util.stream.Collector<T,java.util.ArrayList<T>,List<T>>
Collectors. toList()
-