public class MapSettableTransformer<I,O> extends Object implements SettableTransformer<I,O>
SettableTransformer that operates on an underlying Map instance.
Similar to MapTransformer.| Constructor and Description |
|---|
MapSettableTransformer(Map<I,O> m)
Creates an instance based on
m. |
| Modifier and Type | Method and Description |
|---|---|
O |
apply(I input) |
void |
set(I input,
O output)
Sets the value (
output) to be returned by a call to
transform(input)). |
public void set(I input, O output)
SettableTransformeroutput) to be returned by a call to
transform(input)).set in interface SettableTransformer<I,O>input - the value whose output value is being specifiedoutput - the output value for inputCopyright © 2016. All rights reserved.