The field must be part of the code created for this functional interface, as there is no way to pass the field in during invocation.
This interface is almost identical to java.
save the exceptions thrown, which is the reason for its existence.
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(T
The object upon which the assignment method should be
invoked object, U The value to assign to a member variable of the given
object value)Invoke the code to assign a value to a field. |
| invoke | back to summary |
|---|---|
| public void invoke(T object, U value) throws IllegalAccessException, InvocationTargetException Invoke the code to assign a value to a field.
| |