T - the type of the object containing the propertystatic final class PropertyAccessorFactory.FunctionAccessorFloat<T> extends FunctionAccessor<T> implements PropertyAccessorFactory.PropertyAccessorFloat
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Function<T,java.lang.Float> |
getterFunc |
private java.util.function.BiConsumer<T,java.lang.Float> |
setterFunc |
exceptionHandler, getter, name, propertyClass, propertyType, setter| Constructor and Description |
|---|
FunctionAccessorFloat(java.lang.String name,
java.util.function.Function<T,java.lang.Float> getterFunc,
java.util.function.BiConsumer<T,java.lang.Float> setterFunc) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
getFloat(java.lang.Object object) |
void |
setFloat(java.lang.Object object,
java.lang.Float value) |
errorForGet, errorForSet, name, propertyClass, propertyType, supportGet, supportSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getObject, getShortValue, setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setObject, setShortValuename, propertyClass, propertyType, supportGet, supportSetprivate final java.util.function.Function<T,java.lang.Float> getterFunc
private final java.util.function.BiConsumer<T,java.lang.Float> setterFunc
public java.lang.Float getFloat(java.lang.Object object)
getFloat in interface PropertyAccessorFactory.PropertyAccessorFloatpublic void setFloat(java.lang.Object object,
java.lang.Float value)
setFloat in interface PropertyAccessorFactory.PropertyAccessorFloat