The third parameter lets callers pass in a stateful object to be modified with the key-value pairs, so the ParameterConsumer implementation itself can be stateless and potentially reusable.
ReusableMessage
| Modifier and Type | Method and Description |
|---|---|
| public void |
| accept | back to summary |
|---|---|
| public void accept(Object parameter, int parameterIndex, S state) Performs an operation given the specified arguments.
| |