| Package | Description |
|---|---|
| java.lang.invoke | |
| java.util |
| Modifier and Type | Method and Description |
|---|---|
List<Class<?>> |
MethodType.parameterList()
Presents the parameter types as a list (a convenience method).
|
| 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.
|
| 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.