public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { doubleCodec.encodePrimitive(ctx, property.getDouble(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { doubleCodec.encodePrimitive(ctx, property.getDouble(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { doubleCodec.encodePrimitive(ctx, property.getDouble(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { doubleCodec.encodePrimitive(ctx, property.getDouble(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
@Override public double getDouble(Object holder) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException { if (ObservableDoubleValue.class.isAssignableFrom(property.getType())) return ((ObservableDoubleValue)property.getObject(holder)).get(); return property.getDouble(holder); }