public class ValueHolderImpl extends Object implements ValueHolder
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Supplier<?> |
getter |
protected java.util.function.Consumer<Object> |
setter |
| Constructor and Description |
|---|
ValueHolderImpl(java.util.function.Supplier<?> getter,
java.util.function.Consumer<Object> setter) |
protected java.util.function.Supplier<?> getter
protected java.util.function.Consumer<Object> setter
public ValueHolderImpl(java.util.function.Supplier<?> getter, java.util.function.Consumer<Object> setter)
public Object getValue()
getValue in interface ValueHolderpublic void setValue(Object value)
setValue in interface ValueHolderCopyright © 2017. All rights reserved.