S
- state datapublic interface ParameterConsumer<S>
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 |
---|---|
void |
accept(Object parameter,
int parameterIndex,
S state)
Performs an operation given the specified arguments.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.