public class DoubleSerializer extends Object implements Serializer<Double>
Double.| Constructor and Description |
|---|
DoubleSerializer() |
| Modifier and Type | Method and Description |
|---|---|
SerializerFormatDefinition |
getFormatDefinition()
Get the definition that describes what this serializer can
read and write.
|
Double |
read(StreamingInput in)
Read an object from the specified stream.
|
void |
write(Double object,
String name,
StreamingOutput stream)
Write and object to the specified stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromBytes, fromBytes, toBytes, toBytespublic Double read(StreamingInput in) throws IOException
Serializerread in interface Serializer<Double>IOExceptionpublic void write(Double object, String name, StreamingOutput stream) throws IOException
Serializerwrite in interface Serializer<Double>object - object to writename - the name it should have in the streamstream - the stream to useIOExceptionpublic SerializerFormatDefinition getFormatDefinition()
SerializergetFormatDefinition in interface Serializer<Double>Copyright © 2017. All rights reserved.