## Uses of Interface
java.util.List

- Packages that use List
  Package | Description
  --- | ---
  java.lang.invoke |
  java.util |

- - ### Uses of List in java.lang.invoke

    Methods in java.lang.invoke that return List
    Modifier and Type | Method and Description
    --- | ---
    `List<Class<?>>` | MethodType.`parameterList()` Presents the parameter types as a list (a convenience method).

    Methods in java.lang.invoke with parameters of type List
    Modifier and Type | Method and Description
    --- | ---
    `MethodType` | MethodType.`appendParameterTypes(List<Class<?>> ptypesToInsert)` Finds or creates a method type with additional parameter types.
    `MethodType` | MethodType.`insertParameterTypes(int num, List<Class<?>> ptypesToInsert)` Finds or creates a method type with additional parameter types.
    `Object` | MethodHandle.`invokeWithArguments(List<?> arguments)` Performs a variable arity invocation, passing the arguments in the given array to the method handle, as if via an inexact `invoke` from a call site which mentions only the type `Object`, and whose arity is the length of the argument array.
    `static MethodType` | MethodType.`methodType(Class<?> rtype, List<Class<?>> ptypes)` Finds or creates a method type with the given components.

  - ### Uses of List in java.util

    Methods in java.util that return List
    Modifier and Type | Method and Description
    --- | ---
    `List<E>` | List.`subList(int fromIndex, int toIndex)` Returns a view of the portion of this list between the specified `fromIndex`, inclusive, and `toIndex`, exclusive.

Copyright © 2025 API Design. All Rights Reserved.