public interface AttributeAdapter
mapAttributeFor(Object, Field, DifferentialFunction)
could be:
void mapAttributeFor(Object inputAttributeValue, Field fieldFor, DifferentialFunction on) {
int[] inputArr = (int[]) inputAttributeValue;
on.setValueFor(fieldFor,inputArr[1]);
}
on.setValueFor(conversions.get(fieldFor),Modifier and Type | Method and Description |
---|---|
void |
mapAttributeFor(Object inputAttributeValue,
Field fieldFor,
DifferentialFunction on)
Map the attribute using the specified field
on the specified function on
adapting the given input type to
the type of the field for the specified function.
|
void mapAttributeFor(Object inputAttributeValue, Field fieldFor, DifferentialFunction on)
inputAttributeValue
- the evaluate to adaptfieldFor
- the field foron
- the function to map onCopyright © 2018. All rights reserved.