public final class DoubleFieldMapper<S,T> extends Object implements FieldMapper<S,T>
| Constructor and Description |
|---|
DoubleFieldMapper(DoubleGetter<S> getter,
DoubleSetter<T> setter) |
| Modifier and Type | Method and Description |
|---|---|
void |
mapTo(S source,
T target,
MappingContext<S> mappingContext)
map source object to target object.
|
String |
toString() |
public DoubleFieldMapper(DoubleGetter<S> getter, DoubleSetter<T> setter)
public void mapTo(S source, T target, MappingContext<S> mappingContext) throws Exception
FieldMappermapTo in interface FieldMapper<S,T>source - object to map fromtarget - object to map tomappingContext - the mapping contextException - if an exception occursCopyright © 2015. All rights reserved.