| Constructor and Description |
|---|
ContextGenerator(ContextInsertor<T> insert)
Construct with the given insertor.
|
ContextGenerator(String key)
Construct with the given key, which is used to create a
KeyContextInsertor. |
| Modifier and Type | Method and Description |
|---|---|
Context |
apply(T in)
Apply the function to the input argument and return the result.
|
public ContextGenerator(ContextInsertor<T> insert)
insert - the insertorpublic ContextGenerator(String key)
KeyContextInsertor.key - the key to extract (a KeyContextInsertor is
used)