Context, including the ability to read values from it a Map and
to write values to it from a Map.
| Modifier and Type | Method and Description |
|---|---|
| public Class | readableType()
|
| public <T> T | Returns: the value, if presentthe context to read from; the context type should be
sourceContext, Object assignable from the type returned by
readableType().the key to use to look up the context value key)Read a single value from the source context. |
| public void | readValues(READ
the context to read from; the context type should be
sourceContext, Predicate<Object> assignable from the type returned by
readableType().
When an a predicate to decide which keys to read keyPredicate, Map<Object, Object> a map where to put read values readValues)Read values from a source context into a |
| public Class | |
| public WRITE | Returns: a context with the written valuesthe values to write to the target context. valuesToWrite, WRITE the context to write to; the context type should be
targetContext)assignable from the type returned by
writeableType().Write values from a |
| readableType | back to summary |
|---|---|
| public Class
| |
| readValue | back to summary |
|---|---|
| public <T> T readValue(READ sourceContext, Object key) Read a single value from the source context.
| |
| readValues | back to summary |
|---|---|
| public void readValues(READ sourceContext, Predicate<Object> keyPredicate, Map<Object, Object> readValues) Read values from a source context into a
| |
| writeableType | back to summary |
|---|---|
| public Class
| |
| writeValues | back to summary |
|---|---|
| public WRITE writeValues(Map<Object, Object> valuesToWrite, WRITE targetContext) Write values from a
| |