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