S - mapping sourceD - mapping destination@FunctionalInterface public interface DeclarativeMapSetup<S,D>
DeclarativeMap.
Example shows how to use this interface, to bind getX() to setA():
(config, source, destination) -> config.bind(source::getX, destination::setA))
| Modifier and Type | Method and Description |
|---|---|
void |
apply(DeclarativeMap<S,D> config,
S source,
D destination)
Defines new map configuration.
|
void apply(DeclarativeMap<S,D> config, S source, D destination)
config - configurationsource - source and destination objectdestination - destination and destination objectCopyright © 2014. All rights reserved.