@HandleClassMetadata @HandleBeanView public static final class DefaultConverters.FloatConverter extends Object implements Converter<Float>
Modifier and Type | Field and Description |
---|---|
static DefaultConverters.FloatConverter |
instance |
Modifier and Type | Method and Description |
---|---|
Float |
deserialize(ObjectReader reader,
Context ctx) |
void |
serialize(Float obj,
ObjectWriter writer,
Context ctx) |
public static final DefaultConverters.FloatConverter instance
public Float deserialize(ObjectReader reader, Context ctx)
deserialize
in interface Converter<Float>
deserialize
in interface Deserializer<Float>
reader
- used to read data from.ctx
- the current context.public void serialize(Float obj, ObjectWriter writer, Context ctx)
serialize
in interface Converter<Float>
serialize
in interface Serializer<Float>
obj
- we want to serialize. The object is of type T or a subclass (if this serializer
has been registered for subclasses).writer
- to use to write data to the output stream.ctx
- the current context.Copyright © 2019. All rights reserved.