static final class PropertyAccessorFactory.PropertyAccessorWrapperIntValue extends PropertyAccessorFactory.PropertyAccessorWrapper implements PropertyAccessorFactory.PropertyAccessorIntValue
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.ObjIntConsumer |
getterConsumer |
private java.util.function.ObjIntConsumer |
setterConsumer |
impl| Constructor and Description |
|---|
PropertyAccessorWrapperIntValue(PropertyAccessor impl,
java.util.function.ObjIntConsumer getterConsumer,
java.util.function.ObjIntConsumer setterConsumer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIntValue(java.lang.Object object)
Gets the property value as an int.
|
void |
setIntValue(java.lang.Object object,
int value)
Sets the property value from an int.
|
name, propertyClass, propertyType, supportGet, supportSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getLongValue, getObject, getShortValue, setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setLongValue, setObject, setShortValuename, propertyClass, propertyType, supportGet, supportSetprivate final java.util.function.ObjIntConsumer getterConsumer
private final java.util.function.ObjIntConsumer setterConsumer
public PropertyAccessorWrapperIntValue(PropertyAccessor impl, java.util.function.ObjIntConsumer getterConsumer, java.util.function.ObjIntConsumer setterConsumer)
public int getIntValue(java.lang.Object object)
PropertyAccessorgetIntValue in interface PropertyAccessorobject - the object to get the property frompublic void setIntValue(java.lang.Object object,
int value)
PropertyAccessorsetIntValue in interface PropertyAccessorobject - the object to set the property onvalue - the int value to set