public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { floatCodec.encodePrimitive(ctx, property.getFloat(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 { floatCodec.encodePrimitive(ctx, property.getFloat(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 { floatCodec.encodePrimitive(ctx, property.getFloat(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 { floatCodec.encodePrimitive(ctx, property.getFloat(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
@Override public float getFloat(Object holder) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException { if (ObservableFloatValue.class.isAssignableFrom(property.getType())) return ((ObservableFloatValue)property.getObject(holder)).get(); return property.getFloat(holder); }