C
- The Class containing the Field to be accessedpublic static class PortableFieldAccess.PortableDoubleFieldAccess<C> extends PortableFieldAccess<C>
PortableFieldAccess.PortableBooleanFieldAccess<C>, PortableFieldAccess.PortableByteFieldAccess<C>, PortableFieldAccess.PortableCharFieldAccess<C>, PortableFieldAccess.PortableDoubleFieldAccess<C>, PortableFieldAccess.PortableFloatFieldAccess<C>, PortableFieldAccess.PortableIntFieldAccess<C>, PortableFieldAccess.PortableLongFieldAccess<C>, PortableFieldAccess.PortableShortFieldAccess<C>
Constructor and Description |
---|
PortableDoubleFieldAccess(Field f)
Construct a new instance for the given Field
|
Modifier and Type | Method and Description |
---|---|
double |
getDoubleValue(C parent)
Retrieve the value of the field for the given instance
|
void |
putDoubleValue(C parent,
double newFieldValue)
Update the value of the field for the given instance
|
declaringClass, field, fieldClass, get, getBooleanValue, getByteValue, getCharValue, getFloatValue, getIntValue, getLongValue, getShortValue, getValue, putBooleanValue, putByteValue, putCharValue, putFloatValue, putIntValue, putLongValue, putShortValue, putValue
public PortableDoubleFieldAccess(Field f)
f
- The Field to be accessedpublic double getDoubleValue(C parent)
FieldAccess
getDoubleValue
in interface FieldAccess<C>
getDoubleValue
in class PortableFieldAccess<C>
parent
- The instance to access the field forpublic void putDoubleValue(C parent, double newFieldValue)
FieldAccess
putDoubleValue
in interface FieldAccess<C>
putDoubleValue
in class PortableFieldAccess<C>
parent
- The instance to access the field fornewFieldValue
- The new value as a doubleCopyright © 2010–2018 Jadira Systems. All rights reserved.