Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Uses of Interface
java.util.List
Packages that use List
Provides classes that are fundamental to the design of the Java programming language.
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
The Doclet API provides an environment which, in conjunction with the Language Model API and Compiler Tree API, allows clients to inspect the source-level structures of programs and libraries, including API comments embedded in the source.
Uses of List in java.lang
Methods in java.lang that return List
ModuleLayer.parents()
Returns an unmodifiable list of this layer's parents, in search order.
ProcessBuilder.command()
Returns this process builder's operating system program and arguments.
static List<Process>
ProcessBuilder.startPipeline(List<ProcessBuilder> builders)
Starts a Process for each ProcessBuilder, creating a pipeline of processes linked by their standard output and standard input streams.
Runtime.Version.version()
Returns an unmodifiable List of the integers represented in the version number.
Methods in java.lang with parameters of type List
Creates a new module layer by defining the modules in the given Configuration to the Java virtual machine.
ModuleLayer.defineModulesWithManyLoaders(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader)
Creates a new module layer by defining the modules in the given Configuration to the Java virtual machine.
ModuleLayer.defineModulesWithOneLoader(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader)
Creates a new module layer by defining the modules in the given Configuration to the Java virtual machine.
ProcessBuilder.command(List<String> command)
Sets this process builder's operating system program and arguments.
static List<Process>
ProcessBuilder.startPipeline(List<ProcessBuilder> builders)
Starts a Process for each ProcessBuilder, creating a pipeline of processes linked by their standard output and standard input streams.
Constructors in java.lang with parameters of type List
Constructs a process builder with the specified operating system program and arguments.
Uses of List in java.util
Classes in java.util that implement List
abstract class
This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).
abstract class
This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).
class
Resizable-array implementation of the List interface.
class
Doubly-linked list implementation of the List and Deque interfaces.
class
The Stack class represents a last-in-first-out (LIFO) stack of objects.
class
The Vector class implements a growable array of objects.
Fields in java.util declared as List
static final List
Collections.EMPTY_LIST
The empty list (immutable).
static final List<String>
ResourceBundle.Control.FORMAT_CLASS
The class-only format List containing "java.class".
static final List<String>
ResourceBundle.Control.FORMAT_DEFAULT
The default format List, which contains the strings "java.class" and "java.properties", in this order.
static final List<String>
ResourceBundle.Control.FORMAT_PROPERTIES
The properties-only format List containing "java.properties".
Methods in java.util that return List
AbstractList.subList(int fromIndex, int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
ArrayList.subList(int fromIndex, int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
static <TList<T>
Arrays.asList(T... a)
Returns a fixed-size list backed by the specified array.
static <EList<E>
Collections.checkedList(List<E> list, Class<E> type)
Returns a dynamically typesafe view of the specified list.
static final <TList<T>
Collections.emptyList()
Returns an empty list (immutable).
static <TList<T>
Collections.nCopies(int n, T o)
Returns an immutable list consisting of n copies of the specified object.
static <TList<T>
Collections.singletonList(T o)
Returns an immutable list containing only the specified object.
static <TList<T>
Collections.synchronizedList(List<T> list)
Returns a synchronized (thread-safe) list backed by the specified list.
static <TList<T>
Collections.unmodifiableList(List<? extends T> list)
Returns an unmodifiable view of the specified list.
static <EList<E>
List.copyOf(Collection<? extends E> coll)
Returns an unmodifiable List containing the elements of the given Collection, in its iteration order.
static <EList<E>
List.of()
Returns an unmodifiable list containing zero elements.
static <EList<E>
List.of(E e1)
Returns an unmodifiable list containing one element.
static <EList<E>
List.of(E e1, E e2)
Returns an unmodifiable list containing two elements.
static <EList<E>
List.of(E e1, E e2, E e3)
Returns an unmodifiable list containing three elements.
static <EList<E>
List.of(E e1, E e2, E e3, E e4)
Returns an unmodifiable list containing four elements.
static <EList<E>
List.of(E e1, E e2, E e3, E e4, E e5)
Returns an unmodifiable list containing five elements.
static <EList<E>
List.of(E e1, E e2, E e3, E e4, E e5, E e6)
Returns an unmodifiable list containing six elements.
static <EList<E>
List.of(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
Returns an unmodifiable list containing seven elements.
static <EList<E>
List.of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
Returns an unmodifiable list containing eight elements.
static <EList<E>
List.of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
Returns an unmodifiable list containing nine elements.
static <EList<E>
List.of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)
Returns an unmodifiable list containing ten elements.
static <EList<E>
List.of(E... elements)
Returns an unmodifiable list containing an arbitrary number of elements.
List.subList(int fromIndex, int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
static List<Locale>
Locale.filter(List<Locale.LanguageRange> priorityList, Collection<Locale> locales)
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
static List<Locale>
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
static List<String>
Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.
static List<String>
Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.
Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList, Map<String,List<String>> map)
Generates a new customized Language Priority List using the given priorityList and map.
Locale.LanguageRange.parse(String ranges)
Parses the given ranges to generate a Language Priority List.
Locale.LanguageRange.parse(String ranges, Map<String,List<String>> map)
Parses the given ranges to generate a Language Priority List, and then customizes the list using the given map.
ResourceBundle.Control.getCandidateLocales(String baseName, Locale locale)
Returns a List of Locales as candidate locales for baseName and locale.
ResourceBundle.Control.getFormats(String baseName)
Returns a List of Strings containing formats to be used to load resource bundles for the given baseName.
Vector.subList(int fromIndex, int toIndex)
Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
Methods in java.util with parameters of type List
static <T> int
Collections.binarySearch(List<? extends Comparable<? super T>> list, T key)
Searches the specified list for the specified object using the binary search algorithm.
static <T> int
Collections.binarySearch(List<? extends T> list, T key, Comparator<? super T> c)
Searches the specified list for the specified object using the binary search algorithm.
static <EList<E>
Collections.checkedList(List<E> list, Class<E> type)
Returns a dynamically typesafe view of the specified list.
static <T> void
Collections.copy(List<? super T> dest, List<? extends T> src)
Copies all of the elements from one list into another.
static <T> void
Collections.fill(List<? super T> list, T obj)
Replaces all of the elements of the specified list with the specified element.
static int
Collections.indexOfSubList(List<?> source, List<?> target)
Returns the starting position of the first occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.
static int
Collections.lastIndexOfSubList(List<?> source, List<?> target)
Returns the starting position of the last occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.
static <T> boolean
Collections.replaceAll(List<T> list, T oldVal, T newVal)
Replaces all occurrences of one specified value in a list with another.
static void
Collections.reverse(List<?> list)
Reverses the order of the elements in the specified list.
static void
Collections.rotate(List<?> list, int distance)
Rotates the elements in the specified list by the specified distance.
static void
Collections.shuffle(List<?> list)
Randomly permutes the specified list using a default source of randomness.
static void
Collections.shuffle(List<?> list, Random rnd)
Randomly permute the specified list using the specified source of randomness.
static <T extends Comparable<? super T>> void
Collections.sort(List<T> list)
Sorts the specified list into ascending order, according to the natural ordering of its elements.
static <T> void
Collections.sort(List<T> list, Comparator<? super T> c)
Sorts the specified list according to the order induced by the specified comparator.
static void
Collections.swap(List<?> list, int i, int j)
Swaps the elements at the specified positions in the specified list.
static <TList<T>
Collections.synchronizedList(List<T> list)
Returns a synchronized (thread-safe) list backed by the specified list.
static <TList<T>
Collections.unmodifiableList(List<? extends T> list)
Returns an unmodifiable view of the specified list.
static List<Locale>
Locale.filter(List<Locale.LanguageRange> priorityList, Collection<Locale> locales)
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
static List<Locale>
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
static List<String>
Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.
static List<String>
Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.
static Locale
Locale.lookup(List<Locale.LanguageRange> priorityList, Collection<Locale> locales)
Returns a Locale instance for the best-matching language tag using the lookup mechanism defined in RFC 4647.
static String
Locale.lookupTag(List<Locale.LanguageRange> priorityList, Collection<String> tags)
Returns the best-matching language tag using the lookup mechanism defined in RFC 4647.
Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList, Map<String,List<String>> map)
Generates a new customized Language Priority List using the given priorityList and map.
ResourceBundle.Control.getControl(List<String> formats)
Returns a ResourceBundle.Control in which the getFormats method returns the specified formats.
ResourceBundle.Control.getNoFallbackControl(List<String> formats)
Returns a ResourceBundle.Control in which the getFormats method returns the specified formats and the getFallbackLocale method returns null.
Method parameters in java.util with type arguments of type List
Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList, Map<String,List<String>> map)
Generates a new customized Language Priority List using the given priorityList and map.
Locale.LanguageRange.parse(String ranges, Map<String,List<String>> map)
Parses the given ranges to generate a Language Priority List, and then customizes the list using the given map.
Classes in java.util.concurrent that implement List
class
A thread-safe variant of ArrayList in which all mutative operations (add, set, and so on) are implemented by making a fresh copy of the underlying array.
Methods in java.util.concurrent that return List
AbstractExecutorService.invokeAll(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning a list of Futures holding their status and results when all complete.
AbstractExecutorService.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.
CopyOnWriteArrayList.subList(int fromIndex, int toIndex)
Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive.
ExecutorService.invokeAll(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning a list of Futures holding their status and results when all complete.
ExecutorService.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.
ExecutorService.shutdownNow()
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
ForkJoinPool.invokeAll(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning a list of Futures holding their status and results when all complete.
ForkJoinPool.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.
ForkJoinPool.shutdownNow()
Possibly attempts to cancel and/or stop all tasks, and reject all subsequently submitted tasks.
ScheduledThreadPoolExecutor.shutdownNow()
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
List<Flow.Subscriber<? super T>>
SubmissionPublisher.getSubscribers()
Returns a list of current subscribers for monitoring and tracking purposes, not for invoking Flow.Subscriber methods on the subscribers.
ThreadPoolExecutor.shutdownNow()
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
Methods in jdk.javadoc.doclet that return List
Doclet.Option.getNames()
Returns the list of names that may be used to identify the option.
Methods in jdk.javadoc.doclet with parameters of type List
boolean
Doclet.Option.process(String option, List<String> arguments)
Processes the option and arguments as needed.
Taglet.toString(List<? extends DocTree> tags, Element element)
Returns the string representation of a series of instances of this tag to be included in the generated output.

 Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz