Uses of Class
org.apache.juneau.commons.collections.Lists
Packages that use Lists
Package
Description
Enhanced collection utilities that extend the standard Java Collections Framework with fluent APIs,
specialized collection types, and caching capabilities.
Common internal utilities.
Internal Utilities
-
Uses of Lists in org.apache.juneau.commons.collections
Methods in org.apache.juneau.commons.collections that return ListsModifier and TypeMethodDescriptionAdds a single value to this list.Adds multiple values to this list.Lists.addAll(Collection<E> value) Appends the contents of the specified collection into this list.Adds arbitrary values to this list with automatic type conversion.Appends a value to this list of the flag is true.Lists.concurrent()When specified,build()will return a thread-safe synchronized list.Lists.concurrent(boolean value) Sets whetherbuild()should return a thread-safe synchronized list.static <E> Lists<E>Creates a new list builder for the specified element type.Lists.elementFunction(Function<Object, E> elementFunction) Sets the element conversion function for converting elements inaddAny(Object...).Lists.elementType(Class<E> value) Specifies the element type on this list.Lists.filtered()Applies a default filter that excludes common "empty" or "unset" values from being added to the list.Applies a filter predicate to elements when building the list.Lists.sorted()Sorts the contents of the list.Lists.sorted(Comparator<E> comparator) Sorts the contents of the list using the specified comparator.Lists.sparse()When specified, thebuild()method will returnnull if the list is empty.Lists.unmodifiable()When specified,build()will return an unmodifiable list. -
Uses of Lists in org.apache.juneau.commons.utils
Methods in org.apache.juneau.commons.utils that return Lists -
Uses of Lists in org.apache.juneau.internal
Methods in org.apache.juneau.internal that return ListsModifier and TypeMethodDescriptionstatic <T> Lists<T>ConverterUtils.toListBuilder(Object value, Class<T> type) Converts the specified object to aListswith elements of the specified type.